[
https://issues.apache.org/jira/browse/KAFKA-5686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16306304#comment-16306304
]
Sven Ludwig commented on KAFKA-5686:
------------------------------------
I just tried to set LZ4 in the configuration of Kafka Broker which leads to a
fatal that says it should be lower case lz4.
{{[2017-12-29 13:55:15,393] FATAL [KafkaServer id=1] Fatal error during
KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
org.apache.kafka.common.config.ConfigException: Invalid value LZ4 for
configuration compression.type: String must be one of: uncompressed, snappy,
lz4, gzip, producer
at
org.apache.kafka.common.config.ConfigDef$ValidString.ensureValid(ConfigDef.java:897)
at org.apache.kafka.common.config.ConfigDef.parseValue(ConfigDef.java:469)
at org.apache.kafka.common.config.ConfigDef.parse(ConfigDef.java:453)
at org.apache.kafka.common.config.AbstractConfig.<init>(AbstractConfig.java:62)
at kafka.log.LogConfig.<init>(LogConfig.scala:68)
at kafka.log.LogManager$.apply(LogManager.scala:783)
at kafka.server.KafkaServer.startup(KafkaServer.scala:222)
at
io.confluent.support.metrics.SupportedServerStartable.startup(SupportedServerStartable.java:112)
at io.confluent.support.metrics.SupportedKafka.main(SupportedKafka.java:58)}}
Please consider this difference between API and Broker-Configuration.
Also commented at https://github.com/apache/kafka/pull/3683
> Documentation inconsistency on the "Compression"
> ------------------------------------------------
>
> Key: KAFKA-5686
> URL: https://issues.apache.org/jira/browse/KAFKA-5686
> Project: Kafka
> Issue Type: Bug
> Components: documentation
> Affects Versions: 0.11.0.0
> Reporter: Seweryn Habdank-Wojewodzki
> Assignee: Manikumar
> Priority: Minor
>
> At the page:
> https://kafka.apache.org/documentation/
> There is a sentence:
> {{Kafka supports GZIP, Snappy and LZ4 compression protocols. More details on
> compression can be found here.}}
> Especially link under the word *here* is describing very old compression
> settings, which is false in case of version 0.11.x.y.
> JAVA API:
> Also it would be nice to clearly state if *compression.type* uses only case
> sensitive String as a value or if it is recommended to use e.g.
> {{CompressionType.GZIP.name}} for JAVA API.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)