gcp-pubsub-messages
Subscribe Pub/Sub messages from Google Cloud Platform.
gcp-pubsub-messages [profile=PROFILE] subscription-id=SUBSCRIPTION-ID window=INT{y|mon|w|d|h|m|s}
- profile=PROFILE
- The identifier of Google Cloud Pub/Sub connect profile.
- subscription-id=SUBSCRIPTION-ID
- The subscription ID of Google Cloud Pub/Sub.
- window=INT{y|mon|w|d|h|m|s}
- Receive messages in realtime for specified duration. You should use s(second), m(minute), h(hour), d(day), mon(month) time unit. For example,
10s
means real-time data for 10 seconds timeout.
Output Fields
Field | Type | Name | Description |
---|---|---|---|
_time | Date | Time | Published time. |
profile | String | Profile | The identifier of Google Cloud Pub/Sub connect profile |
msg_id | String | Message ID | Unique message ID within the topic. |
msg | String | Message | UTF-8 decoded message. |
attrs | Map | Attributes | Key-value pairs. |