public interface PubSubAcknowledger
Modifier and Type | Method and Description |
---|---|
void |
ack(Collection<String> ackIds,
String subscriptionName)
Acknowledge a bulk of messages based on their ack IDs which pertain to a subscription name.
|
void |
nack(Collection<String> ackIds,
String subscriptionName)
Negatively acknowledge a bulk of messages based on their ack IDs which pertain to a
subscription name.
|
void ack(Collection<String> ackIds, String subscriptionName)
ackIds
- ack IDs to be acknowledgedsubscriptionName
- subscription names to which the ack IDs belong. Must be in the form
"projects/[GCP_PROJECT_ID]/subscriptions/[PUBSUB_SUBSCRIPTION_ID]"void nack(Collection<String> ackIds, String subscriptionName)
ackIds
- ack IDs to be acknowledgedsubscriptionName
- subscription names to which the ack IDs belong. Must be in the form
"projects/[GCP_PROJECT_ID]/subscriptions/[PUBSUB_SUBSCRIPTION_ID]"Copyright © 2018 Pivotal Software, Inc.. All rights reserved.