GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Batch acknowledgement is not working in asynchronous call · Issue #3257 · googleapis/google-cloud-java Closed Labels api: pubsubIssues related to the Pub/Sub API.type: questionRequest for information or clarification. Not an issue. DescriptionWe are having the requirement of creating a batch of messages on every one minute. Current functionality given by pub/sub library: In asynchronous call, we can ack/nack message one by one, immediate after receiving. Below is our code snippet- Subscriber.Builder builder = Subscriber.newBuilder(subscription, new MessageReceiver() { @Override public void receiveMessage(PubsubMessage message, AckReplyConsumer consumer) { // handle incoming message, then ack/nack the received message try { //dropping the message in a queue //here we are creating a batch on every one minute and ack/nack the message accordingly } also do we have any method to get ackId instead of MessageId in case of asynchronous call. Activity
MetadataMetadataAssigneesLabelsapi: pubsubIssues related to the Pub/Sub API.type: questionRequest for information or clarification. Not an issue. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |