【发布时间】:2017-08-13 02:53:23
【问题描述】:
我使用kafka-topics.bat --zookeeper localhost:2181 --alter --topic test --config cleanup.policy=compact delete config min.cleanable.dirty.ratio=0.01 --config segment.ms=100 --config delete.retention.ms=100 来压缩我的主题。
我已经使用相同的密钥发送了 2000 条消息。当我使用这些消息时,我会分别收到每条消息,而不是一条压缩消息。
【问题讨论】:
-
你是怎么解决这个问题的?
标签: apache-kafka