Spring cloud bus kafka配置producer超时问题

配置zookeeper和kafka;这个时间怎么配置?
#Spring-Cloud-Config-Bus-Kafka
spring.cloud.stream.kafka.binder.brokers=192.168.150.135:9092
spring.cloud.stream.kafka.binder.zkNodes=192.168.150.130:2181
spring.cloud.stream.kafka.bindings.springCloudBus.producer.configuration.request.timeout.ms=50000

错误:
2017-07-31 23:20:52.269 ERROR 6936 --- [ad | producer-1] o.s.k.support.LoggingProducerListener    : Exception thrown when sending a message with key='null' and payload='{-1, 2, 11, 99, 111, 110, 116, 101, 110, 116, 84, 121, 112, 101, 0, 0, 0, 12, 34, 116, 101, 120, 116...' to topic springCloudBus:

org.apache.kafka.common.errors.TimeoutException: Expiring 1 record(s) for springCloudBus-0 due to 30078 ms has passed since batch creation plus linger time
 
已邀请:

lance

赞同来自: 程序猿DD spr_cloud

问题解决了 是我的kafka server端版本问题和 现在和客户端都用0.10.1.1 就可以了

要回复问题请先登录注册