Google Pub/Sub extension

Plugin ID

The plugin ID for Apache ActiveMQ is fr.cantor.c4i.PubSubDelivery.

Properties

Environment independent parameters (set in extension configuration or properties file)

Property keyDescriptionMandatoryDefault value
configAssetIdThe ID of the asset containing the YAML mappingsYes
connectionThe name of the connection in the c4i.properties fileYes
prefixTopicNamesWithContextIdtrue or false to indicate whether or not to prefix the topic names with the context IDsYes
outputFormatJSON, or XMLYes
projectIdThe GCP project IDNoThe project_id field from the JSON authentication file
delayThresholdMsDelay threshold for batching (in ms)No
requestByteThresholdRequest byte threshold for batchingNo
elementCountThresholdElement count threshold for batchingNo
autoCreateTopicsAutomatically create the topics if they don't exist. Otherwise, they must be created manuallyNofalse
cacheConfigThe ID of the asset containing the JCS configurationNo
displayPerfStattrue to display performance statistics (see Performance statistics dedicated page)Nofalse

Environment dependent parameters

In order to make the Pub/Sub connector work, you need to connect to the Stibo SFTP for your STEP environment and create the folder /shared/customer-config/c4i/credentials/gcp (for STEP usage) or create the folder ~/.c4i/credentials/gcp on your file system (for Standalone usage).

Then you can store your GCP service account JSON file myConnection.json and reference it in the extension configuration parameter "Connection name" or through the connection property for Composite or Standalone.

Configuration Example

extensions.[0].pluginId=fr.cantor.c4i.PubSubDelivery
extensions.[0].configAssetId=C4I-Configuration
extensions.[0].prefixTopicNamesWithContextId=true
extensions.[0].connection=myGcpConnection
extensions.[0].outputFormat=JSON
pluginId=fr.cantor.c4i.PubSubDelivery
configAssetId=/Path/to/C4I/Configuration.yml
licenseAssetId=/Path/to/C4I/License.cat
prefixTopicNamesWithContextId=true
connection=myGcpConnection
outputFormat=JSON
Last Updated: