修改 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