mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-02 15:29:05 +00:00
Adapt to changes in Spring Kafka snapshots
See gh-30645
This commit is contained in:
+2
-2
@@ -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