Kafka生产者绑定问题2019-01-04 03:58:18.497错误 [api-gateway-server ,,] 1 --- [ask-scheduler-1] o.s.cloud.stream.binding.BindingService:无法创建生产者 捆绑; 30秒后重试 headless_api-gateway-service.1.w48xs2v2sfjl@node8.docker.com | headless_api-gateway-service.1.w48xs2v2sfjl@node8.docker.com | org.springframework.cloud.stream.provisioning.ProvisioningException: 设置例外;嵌套异常为 java.util.concurrent.TimeoutException
spring:
cloud:
stream:
bindings:
outboundThrottling:
destination: throttlingTopic_Headless
content-type: application/json
compression-type: gzip
outboundBre1:
destination: Topic_Bre1_Headless
content-type: application/json
compression-type: gzip
kafka:
binder:
brokers: ${broker}
zk-nodes: ${broker}
profiles:
active: default
它能够连接到集群,但不能进行生产者绑定,因此无法流式传输事件