Write events to Google PubSub messaging.

GooglePubSubWriter Properties

  • credential (Env First): The Google credential with permissions to the Google service.
  • publicationEndpoint (Inline Only): The PubSub publication endpoint
  • batchSize (Inline Only): The batch size of messages. Defaults to 100.
  • averageMessageSizeHint (Inline Only): The average message size. Defaults to 1024.
Example with Environment Credentials
-
    name: myConnectorName
    type: GooglePubSubWriter
    properties:
      publicationEndpoint:  projects/test/topics/test 
      batchSize:  100  # optional 
      averageMessageSizeHint:  1024  # optional 

Example with Inline Credentials
-
    name: myConnectorName
    type: GooglePubSubWriter
    properties:
      credential:  jsonValue 
      publicationEndpoint:  projects/test/topics/test 
      batchSize:  100  # optional 
      averageMessageSizeHint:  1024  # optional