o.s.cloud.stream.binding.Binding服务:无法创建生产者绑定

时间:2019-01-09 05:18:12

标签: spring-cloud-config spring-cloud-bus

我正在尝试在集群环境中构建spring config客户端,为此,我正在使用kafka在客户端之间进行连接。我的客户项目可以在本地kafka服务器上工作,但是当我尝试连接到远程kafka服务器应用程序时,请不要启动并抛出以下错误,

2019-01-09 00:06:00.364  INFO 17892 --- [           main] o.a.kafka.common.utils.AppInfoParser     : Kafka version : 2.0.1
2019-01-09 00:06:00.364  INFO 17892 --- [           main] o.a.kafka.common.utils.AppInfoParser     : Kafka commitId : fa14705e51bd2ce5
2019-01-09 00:08:00.369  INFO 17892 --- [thread | client] o.a.k.c.a.i.AdminMetadataManager         : [AdminClient clientId=client] Metadata update failed

org.apache.kafka.common.errors.TimeoutException: Timed out waiting to send the call.

2019-01-09 00:10:00.366  INFO 17892 --- [thread | client] o.a.k.c.a.i.AdminMetadataManager         : [AdminClient clientId=client] Metadata update failed

org.apache.kafka.common.errors.TimeoutException: Timed out waiting to send the call.

2019-01-09 00:10:00.371 ERROR 17892 --- [           main] o.s.cloud.stream.binding.BindingService  : Failed to create producer binding; retrying in 30 seconds

org.springframework.cloud.stream.provisioning.ProvisioningException: Provisioning exception; nested exception is java.util.concurrent.TimeoutException

pom.xml中,

<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-starter-bus-kafka</artifactId>
    <version>2.0.0.RELEASE</version>
</dependency>

0 个答案:

没有答案