Skip to content

Commit 251a18e

Browse files
Addressing PR review
Signed-off-by: chickenchickenlove <[email protected]>
1 parent 2aa5d38 commit 251a18e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka/receiving-messages/class-level-kafkalistener.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ void listen(Object in, @Header(KafkaHeaders.RECORD_METADATA) ConsumerRecordMetad
6464
----
6565

6666
Also, this won't work as well.
67-
The `payload` value will be injected as the `topic`.
67+
The `topic` is resolved to the `payload`.
6868

6969
[source, java]
7070
----
@@ -75,7 +75,7 @@ public void listenDefault(String payload, @Header(KafkaHeaders.RECEIVED_TOPIC) S
7575
}
7676
----
7777

78-
If you need discrete custom headers in a default method, use this:
78+
If there are use cases in which discrete custom headers are required in a default method, use this:
7979
[source, java]
8080
----
8181
@KafkaHandler(isDefault = true)

0 commit comments

Comments
 (0)