我在用着spring-cloud-starter-stream-kafka
创建 Kafka 消费者绑定并且我已经配置spring.cloud.stream.bindings.input.consumer.autoStartup
to false
(https://cloud.spring.io/spring-cloud-static/spring-cloud-stream/2.2.0.RELEASE/spring-cloud-stream.html#_consumer_properties).
我想知道在启动绑定程序时必须注入什么(例如通过属性启用的配置)。我找不到任何有关此的文档。
Thanks.
Use the BindingsEndpoint
bean 来改变状态。
请参阅我的回答这个问题.
目前,执行器必须位于类路径上。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)