Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example For Managed Subscriptions #56

Merged
merged 17 commits into from
May 30, 2024
Merged

Conversation

jason-alaya-sf
Copy link
Contributor

Updated proto file to support ManagedSubscribe Rpc (Beta)

int numRequested = 1;
String newKey = UUID.randomUUID().toString();
ManagedFetchRequest.Builder fetchRequestBuilder = ManagedFetchRequest.newBuilder().setNumRequested(numRequested);
String newKey =UUID.randomUUID().toString();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
String newKey =UUID.randomUUID().toString();
String newKey = UUID.randomUUID().toString();

CommitReplayRequest commitRequest = CommitReplayRequest.newBuilder()
.setCommitRequestId(newKey)
.setReplayId(commitReplayId)
.build();
fetchRequestBuilder.setCommitReplayIdRequest(commitRequest);

logger.info("Sending CommitRequest with numRequested {} , CommitReplayRequest ID: {}", numRequested , newKey);
logger.info("Sending CommitRequest with , CommitReplayRequest ID: {}" , newKey);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
logger.info("Sending CommitRequest with , CommitReplayRequest ID: {}" , newKey);
logger.info("Sending CommitRequest with CommitReplayRequest ID: {}" , newKey);

@herinckc herinckc merged commit 607b472 into forcedotcom:main May 30, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants