-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
api: pubsubIssues related to the Pub/Sub API.Issues related to the Pub/Sub API.
Description
Given a MessageConsumer constructed like this:
MessageConsumer consumer = pubsub.pullAsync(
subscription,
messageProcessor,
PubSub.PullOption.maxQueuedCallbacks(maxQueuedCallbacks),
PubSub.PullOption.executorFactory(executorFactory)
);How can I modify the acknowledge deadline for a the message?
To use the pubsub.modifyAckDeadline(); I need to know the ackId or ackId's but I can't get that from the process(Message) call.
public class BuildEventHandler implements PubSub.MessageProcessor {
public void process(Message message) throws Exception {
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api: pubsubIssues related to the Pub/Sub API.Issues related to the Pub/Sub API.