Google PubSub Acknowledge
In this article
Overview
You can use this Snap to acknowledge the messages with ack IDs read by a Pubsub Subscriber used in the upstream Snap. This snap can also be used without the Subscriber Snap bypassing the acknowledgments directly from the input stream. This snap supports acknowledging for a single ack ID or for a batch of ack IDs.
Snap Type
Acknowledge Snap is a Write type Snap.
Snap Views
Type | Format | Number of Views | Examples of Upstream and Downstream Snaps | Description |
---|---|---|---|---|
Input | Document
|
|
| Each document contains data in the form of json.. |
Output | Document |
|
| Each document contains corresponding response in the form of json. |
Error | Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter when running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab. The available options are:
Learn more about Error handling in Pipelines. |
Snap Settings
Asterisk (*): Indicates a mandatory field.
Suggestion icon (): Indicates a list that is dynamically populated based on the configuration.
Expression icon (): Indicates whether the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.
Add icon (): Indicates that you can add fields in the field set.
Remove icon (): Indicates that you can remove fields from the field set.
Field Name | Field Type | Description |
---|---|---|
Label*
Default Value: Google PubSub Acknowledge | String | Specify the name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline. |
Subscription Name Default Value: N/A | String/Expression | Specify the subscription name from which the messages are pulled. This property is suggestable and will retrieve available subscription names based on the project ID from the service account.
|
Acknowledgement ID
| String/Expression | Specify the acknowledgment ID to be deleted from the PubSub queue. For a single message, the ack ID can be specified directly in this field. |
Batch size
Default Value: 1 | String/Expression | Specify the maximum time in seconds the Snap will wait for each fetching. A zero wait timeout indicates that fetching will be performed without waiting.
|
Snap Execution
Default Value: Execute only | Dropdown list | Select one of the three modes in which the Snap executes. Available options are:
|
Snap Pack History
Have feedback? Email documentation@snaplogic.com | Ask a question in the SnapLogic Community
© 2017-2025 SnapLogic, Inc.