Skip to content

Commit c06adf4

Browse files
committed
GH-3733: Fix docs for ConcurrentMessageListenerContainer
Fixes: #3733 Issue link: #3733 There is no other constructors, but only one with the `ContainerProperties` **Auto-cherry-pick to `3.3.x` & `3.2.x`**
1 parent 4a105e5 commit c06adf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka/receiving-messages/message-listener-container.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public ConcurrentMessageListenerContainer(ConsumerFactory<K, V> consumerFactory,
133133
It also has a `concurrency` property.
134134
For example, `container.setConcurrency(3)` creates three `KafkaMessageListenerContainer` instances.
135135

136-
For the first constructor, Kafka distributes the partitions across the consumers using its group management capabilities.
136+
If the container properties are configured for topics (or topic pattern), Kafka distributes the partitions across the consumers using its group management capabilities.
137137

138138
[IMPORTANT]
139139
====

0 commit comments

Comments
 (0)