GCPCredentialsService
Implementation: GCPCredentialsControllerService
The Controller Service used to obtain Google Cloud Platform credentials. | Topic Name | gcp-pubsub-topic | | | Name of the Google Cloud PubSub Topic. Example: projects/8476107443/locations/europe-west1-d/topics/my-lite-topic Supports Expression Language: true (will be evaluated using Environment variables only) |
Ordering Key | gcp-ordering-key | | | Messages with the same ordering key will always get published to the same partition. When this property is not set, messages can get published to different partitions if more than one partition exists for the topic. Supports Expression Language: true (will be evaluated using flow file attributes and Environment variables) |
Batch Size Threshold | gcp-pubsub-publish-batch-size | 15 | | Indicates the number of messages the cloud service should bundle together in a batch. If not set and left empty, only one message will be used in a batch |
Batch Bytes Threshold | gcp-batch-bytes | 3 MB | | Publish request gets triggered based on this Batch Bytes Threshold property and the Batch Size Threshold property, whichever condition is met first. Supports Expression Language: true (will be evaluated using Environment variables only) |
Batch Delay Threshold | gcp-pubsub-publish-batch-delay | 100 millis | | Indicates the delay threshold to use for batching. After this amount of time has elapsed (counting from the first element added), the elements will be wrapped up in a batch and sent. This value should not be set too high, usually on the order of milliseconds. Otherwise, calls might appear to never complete. |
Dynamic Properties:
Supports Sensitive Dynamic Properties: No
Dynamic Properties allow the user to specify both the name and value of a property.
Name | Value | Description |
---|
Attribute name | Value to be set to the attribute | Attributes to be set for the outgoing Google Cloud PubSub Lite message Supports Expression Language: true (will be evaluated using flow file attributes and Environment variables) |
Relationships:
Name | Description |
---|
failure | FlowFiles are routed to this relationship if the Google Cloud Pub/Sub operation fails. |
success | FlowFiles are routed to this relationship after a successful Google Cloud Pub/Sub operation. |
Reads Attributes:
None specified.Writes Attributes:
Name | Description |
---|
gcp.pubsub.messageId | ID of the pubsub message published to the configured Google Cloud PubSub topic |
gcp.pubsub.topic | Name of the Google Cloud PubSub topic the message was published to |
State management:
This component does not store state.Restricted:
This component is not restricted.Input requirement:
This component requires an incoming relationship.System Resource Considerations:
Resource | Description |
---|
MEMORY | The entirety of the FlowFile's content will be read into memory to be sent as a PubSub message. |
See Also:
ConsumeGCPubSubLite