GH-932: Added zstd compression type

This commit is contained in:
Aldo Sinanaj
2020-08-13 10:03:44 +02:00
committed by Gary Russell
parent a6ac6e3221
commit 5b3b92cdb9
4 changed files with 9 additions and 9 deletions

View File

@@ -398,7 +398,7 @@ If a topic already exists with a larger number of partitions than the maximum of
compression::
Set the `compression.type` producer property.
Supported values are `none`, `gzip`, `snappy` and `lz4`.
Supported values are `none`, `gzip`, `snappy`, `lz4` and `zstd`.
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.<binding-name>.producer.configuration.compression.type=zstd`.
+
Default: `none`.