Google Cloud PubSub Acknowledge
In this article
Overview
You can use this Snap to acknowledge the messages by reading the message ID from the upstream Subscriber Snap.
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 a 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*
| 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.
|
Message ID*
| String/Expression | Specify the ID of the message to be acknowledged.
|
Acknowledgement type*
| Dropdown list | Choose the acknowledgement action type for the received message. Available options are:
|
Snap Execution
| Dropdown list | Select one of the three modes in which the Snap executes. Available options are:
|