| Package | Description |
|---|---|
| org.springframework.cloud.gcp.pubsub.core |
| Modifier and Type | Method and Description |
|---|---|
List<AcknowledgeablePubsubMessage> |
PubSubOperations.pull(String subscription,
Integer maxMessages,
Boolean returnImmediately)
Pull a number of messages from a Google Cloud Pub/Sub subscription.
|
List<AcknowledgeablePubsubMessage> |
PubSubTemplate.pull(String subscription,
Integer maxMessages,
Boolean returnImmediately) |
| Modifier and Type | Method and Description |
|---|---|
void |
PubSubOperations.ack(Collection<AcknowledgeablePubsubMessage> acknowledgeablePubsubMessages)
Acknowledge a batch of messages.
|
void |
PubSubTemplate.ack(Collection<AcknowledgeablePubsubMessage> acknowledgeablePubsubMessages) |
void |
PubSubOperations.nack(Collection<AcknowledgeablePubsubMessage> acknowledgeablePubsubMessages)
Negatively acknowledge a batch of messages.
|
void |
PubSubTemplate.nack(Collection<AcknowledgeablePubsubMessage> acknowledgeablePubsubMessages) |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.