Spring Cloud Stream のリファレンス マニュアルには、プロパティ「spring.cloud.stream.kafka.binder.headers」を使用して、すべてのバインディングのヘッダーを設定できると記載されています。特定のバインディングのヘッダーを設定する方法はありますか? たとえば、次のようなものです。
spring.cloud.stream:
bindings:
input:
destination: input-topic
headers: header-for-input-only
output:
destination: input-topic
headers: header-for-output-only