我们让多个应用程序使用者收听相同的kafka主题,并且生产者在向主题发送消息时设置消息头,以便特定实例能够评估标头并处理消息。received message is {}",message.getName());在SpringCloudStream3.0.0中,@StreamListener被废弃了,我无法在函数中找到与条件属性等价的内容
在我们的项目中,我们使用spring-cloud-starter-stream-kafka来消费来自卡夫卡的消息,在添加了@ComponentScan for "org.springframework.cloud.stream.binder.kafkaorg.springframework.cloud.stream.test.binder.TestSupportBinder (org.springframework.cloud.stream.binder.kafka</