Skip to content

Commit 15bef9d

Browse files
committed
GH-2134: Doc and Javadoc Polishihg
1 parent 9623116 commit 15bef9d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-kafka-docs/src/main/asciidoc/whats-new.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ See the note at the end of <<batch-listeners>> for more information.
4646

4747
The `@KafkaListener` annotation now has the `filter` attribute, to override the container factory's `RecordFilterStrategy` for just this listener.
4848

49-
The `@KafkaListener` annotation now the "info" attribute; this is used to populate the new listener container property `listenerInfo`.
49+
The `@KafkaListener` annotation now has the `info` attribute; this is used to populate the new listener container property `listenerInfo`.
5050
This is then used to populate a `KafkaHeaders.LISTENER_INFO` header in each record which can be used in `RecordInterceptor`, `RecordFilterStrategy`, or the listener itself.
5151
See <<li-header>> and <<alc-props,Abstract Listener Container Properties>> for more information.
5252

spring-kafka/src/main/java/org/springframework/kafka/annotation/KafkaListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@
317317
* listener itself, for any purposes.
318318
* <p>
319319
* SpEL {@code #{...}} and property place holders {@code ${...}} are supported, but it
320-
* must resolve to a String or `byte[]`.
320+
* must resolve to a String or {@code byte[]}.
321321
* <p>
322322
* This header will be stripped out if an outbound record is created with the headers
323323
* from an input record.

0 commit comments

Comments
 (0)