Synadia Connect

Azure CosmosDB

NAMERUNTIMETYPEVERSIONSTATUS
azure_cosmosdbwombatsinklatestpreview

Creates or updates messages as JSON documents in Azure CosmosDB.

Configuration

nametypeoptionalsecretdescription
connection_stringstringnonoA CosmosDB connection string.
databasestringnonoThe name of the database to query.
containerstringnonoThe name of the container to query.
partition_keys_mapstringnonoA Bloblang mapping which should evaluate to a single partition key value or an array of partition key values of type string, integer or boolean. Currently, hierarchical partition keys are not supported so only one value may be provided.
operationstringyesnoThe operation to perform on the document. The value should be one of Create, Delete, Patch, Replace or Upsert. The value defaults to Create.
patch_operations[]patch_operationsyesnoA list of patch operations to apply to the document. This field is only used when the operation is set to Patch.
patch_conditionstringyesnoPatch operation condition. This field supports interpolation functions. This field is only used when the operation is set to Patch.
auto_idboolyesnoWhether to automatically generate an ID for the document if one is not provided. If the id field is already set, then it will not be overwritten. Setting this to false can improve performance, since the messages will not have to be parsed. The value defaults to true.
item_idexpressionnonoID of item to replace or delete. Only used by the Replace and Delete operations. This field supports interpolation functions.
max_in_flightintyesnoThe maximum number of messages to have in flight at any given time. The value defaults to 64.

Patch Operations

nametypeoptionalsecretdescription
operationstringyesnoThe operation to perform on the document. The value should be one of Add, Increment, Remove, Replace or Set. The value defaults to Add.
pathstringyesnoThe path to the field to apply the operation to.
value_mapstringyesnoA Bloblang mapping which should evaluate to the value to apply to the field.
Previous
Azure Blob Storage