0
Spring Cloud Stream的参考手册说,您可以使用属性“spring.cloud.stream.kafka.binder.headers”为所有绑定设置标题。有没有办法为特定的绑定设置标题?例如,像这样的:Spring Cloud Stream Kafka将标题添加到仅一个绑定
spring.cloud.stream:
bindings:
input:
destination: input-topic
headers: header-for-input-only
output:
destination: input-topic
headers: header-for-output-only
肯定会有用的,如果你们有时间的话。目前它似乎产生了一个奇怪的EOF异常,如果它期望的标题,并没有得到它们。 –
请在描述中提出问题 - 它有助于从社区获得输入! (和贡献fwiw) –
好点。我会尽量记得在下次使用GitHub密码的时候这么做。 :-) 谢谢! –