Skip to content

Commit 7acf1b9

Browse files
committed
@KafkaListener Javadoc Polishing
1 parent a1e6024 commit 7acf1b9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@
9090
public @interface KafkaListener {
9191

9292
/**
93-
* The unique identifier of the container managing for this endpoint.
94-
* <p>If none is specified an auto-generated one is provided.
93+
* The unique identifier of the container for this listener.
94+
* <p>If none is specified an auto-generated id is used.
9595
* <p>Note: When provided, this value will override the group id property
9696
* in the consumer factory configuration, unless {@link #idIsGroup()}
97-
* is set to false.
97+
* is set to false or {@link #groupId()} is provided.
9898
* <p>SpEL {@code #{...}} and property place holders {@code ${...}} are supported.
9999
* @return the {@code id} for the container managing for this endpoint.
100100
* @see org.springframework.kafka.config.KafkaListenerEndpointRegistry#getListenerContainer(String)
@@ -246,9 +246,9 @@
246246
String[] properties() default {};
247247

248248
/**
249-
* When false and the return type is a {@link Iterable} return the result as the value
250-
* of a single reply record instead of individual records for each element. Default
251-
* true. Ignored if the reply is of type {@code Iterable<Message<?>>}.
249+
* When false and the return type is an {@link Iterable} return the result as the
250+
* value of a single reply record instead of individual records for each element.
251+
* Default true. Ignored if the reply is of type {@code Iterable<Message<?>>}.
252252
* @return false to create a single reply record.
253253
* @since 2.3.5
254254
*/

0 commit comments

Comments
 (0)