0

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
4

1 に答える 1

1

残念ながら、それはバインダー全体の設定です。より詳細な設定が新機能になる可能性があります。

于 2016-09-26T21:13:22.400 に答える