Skip to content

Commit b3109e8

Browse files
artembilanspring-builds
authored andcommitted
GH-3733: Fix docs for ConcurrentMessageListenerContainer
Fixes: #3733 Issue link: #3733 There is no other constructors, but only one with the `ContainerProperties` (cherry picked from commit c06adf4)
1 parent 28b5a2f commit b3109e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)