我正在使用spring-cloud-stream-kafka。我从卡夫卡话题testTopic与单个分区启动消费应用的两个实例使用相同的组名testGroup消费消息,我预计消费者一个实例为使用来自卡夫卡的话题,其他实例的消息不消费任何东西,因为他们共享相同的组名称。我正在使用0.8.xx版本的Kafka客户端。这里是我的物业spring-cloud-stream-kafka不尊重单个消费者的群体
spring.cloud.stream.bindings.input.destination=testTopic
spring.cloud.stream.bindings.input.group=testGroup
任何想法可能发生什么?
我使用Brixton.SR6其中拉动 弹簧云起动流卡夫卡(1.0.2.RELEASE) –