Data compression
You can compress the data when you read or write to a Kafka topic.
You can configure the following compression formats at the source and target:
To use the compression format at the target, specify the following property in the Producer Configuration Properties target advanced property.
- •For gzip format, specify the compression.type=gzip property.
- •For lz4 format, specify the compression.type=lz4 property.
- •For snappy format, specify the compression.type=snappy property.
- •For zstd format, specify the compression.type=zstd property.