Adapt to changes in Spring Kafka snapshots
See gh-30645
This commit is contained in:
@@ -181,7 +181,7 @@ class KafkaAutoConfigurationIntegrationTests {
|
||||
private volatile String key;
|
||||
|
||||
@KafkaListener(topics = TEST_TOPIC)
|
||||
void listen(String foo, @Header(KafkaHeaders.RECEIVED_MESSAGE_KEY) String key) {
|
||||
void listen(String foo, @Header(KafkaHeaders.RECEIVED_KEY) String key) {
|
||||
this.received = foo;
|
||||
this.key = key;
|
||||
this.latch.countDown();
|
||||
@@ -200,7 +200,7 @@ class KafkaAutoConfigurationIntegrationTests {
|
||||
private volatile String key;
|
||||
|
||||
@KafkaListener(topics = TEST_RETRY_TOPIC)
|
||||
void listen(String foo, @Header(KafkaHeaders.RECEIVED_MESSAGE_KEY) String key,
|
||||
void listen(String foo, @Header(KafkaHeaders.RECEIVED_KEY) String key,
|
||||
@Header(KafkaHeaders.RECEIVED_TOPIC) String topic) {
|
||||
this.received = foo;
|
||||
this.key = key;
|
||||
|
||||
Reference in New Issue
Block a user