kafka在线修改topic配置

修改 max.message.bytes:

 bin/kafka-configs.sh --zookeeper localhost:2181  --alter --entity-type topics --entity-name asset-scan-machine-result  --add-config 'max.message.bytes=102400000'

查看topic配置:

bin/kafka-configs.sh --zookeeper localhost:2181 --entity-type topics --entity-name asset-scan-machine-result --describe

原文地址:https://www.cnblogs.com/luyang08/p/15103551.html