InsertSourcePartitionOrOffsetValue
The InsertSourcePartitionOrOffsetValue transformation in Kafka Connect allows you to insert headers into SourceRecords based on partition or offset values.
Configuration Properties
Configuration Property
Description
Optionality
Default Value
Example Configuration
transforms=InsertSourcePartitionOrOffsetValue
transforms.InsertSourcePartitionOrOffsetValue.type=io.lenses.connect.smt.header.InsertSourcePartitionOrOffsetValue
transforms.InsertSourcePartitionOrOffsetValue.offset.fields=path,line,ts
transforms.InsertSourcePartitionOrOffsetValue.partition.fields=container,prefixExample Usage with Cloud Connectors
AWS S3, Azure Datalake or GCP Storage
Using the Prefix Feature in InsertSourcePartitionOrOffsetValue Transformation
Last updated
Was this helpful?

