返回到文章

采纳

kafka用命令发送数据,报 TimeoutException: Expiring 1 record(s) for test-0: 30045 ms has passed since batch creation plus linger time?

kafka

发送kafka消息,包错,命令:

./kafka-console-producer.sh --broker-list 192.168.34.11:9092 --topic test

错误信息:

ERROR Error when sending message to topic test with key: null, value: 10 bytes with error: (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback) org.apache.kafka.common.errors.TimeoutException: Expiring 1 record(s) for test-0: 30045 ms has passed since batch creation plus linger time?