Adapt to changes in Spring Kafka snapshots

See gh-30645
pull/30880/head
Scott Frederick 3 years ago
parent 4f3771f88a
commit 88250f92bd

@ -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;

Loading…
Cancel
Save