From 80df80806b84c1dbac00a5bec9d19cdf04e9e2e7 Mon Sep 17 00:00:00 2001 From: Navjot Cheema Date: Mon, 6 Jul 2020 21:43:09 -0700 Subject: [PATCH] Producer compressionType documentation updated --- README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index 88d5374c9..9758642ee 100644 --- a/README.adoc +++ b/README.adoc @@ -417,7 +417,7 @@ If a topic already exists with a smaller partition count and `autoAddPartitions` If a topic already exists with a smaller partition count and `autoAddPartitions` is enabled, new partitions are added. If a topic already exists with a larger number of partitions than the maximum of (`minPartitionCount` or `partitionCount`), the existing partition count is used. -compression:: +compressionType:: Set the `compression.type` producer property. Supported values are `none`, `gzip`, `snappy` and `lz4`. If you override the `kafka-clients` jar to 2.1.0 (or later), as discussed in the https://docs.spring.io/spring-kafka/docs/2.2.x/reference/html/deps-for-21x.html[Spring for Apache Kafka documentation], and wish to use `zstd` compression, use `spring.cloud.stream.kafka.bindings..producer.configuration.compression.type=zstd`.