クラスの使用
org.springframework.kafka.requestreply.CorrelationKey
org.springframework.kafka.requestreply 内の CorrelationKey 使用
修飾子と型メソッド説明void
ReplyingKafkaTemplate.setCorrelationIdStrategy
(FunctionSE<org.apache.kafka.clients.producer.ProducerRecord<K, V>, CorrelationKey> correlationStrategy) リクエストレコードごとに一意の相関キーを確立するために呼び出される関数を設定します。