Skip to content

Commit fa7917d

Browse files
committed
Fix doc typo
1 parent 0267f1a commit fa7917d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reference/asciidoc/kafka.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To close existing Producers, call `reset()` on the `DefaultKafkaProducerFactory`
1919
To close existing Consumers, call `stop()` (and then `start()`) on the `KafkaListenerEndpointRegistry` and/or `stop()` and `start()` on any other listener container beans.
2020

2121
For convenience, the framework also provides an `ABSwitchCluster` which supports two sets of bootstrap servers; one of which is active at any time.
22-
Configure the `ABSwitchCluster` and add it to the pruducer and consumer factories, and the `KafkaAdmin`, by calling `setBootstrapServersSupplier()`.
22+
Configure the `ABSwitchCluster` and add it to the producer and consumer factories, and the `KafkaAdmin`, by calling `setBootstrapServersSupplier()`.
2323
When you want to switch, call `primary()` or `secondary()` and call `reset()` on the producer factory to establish new connection(s); for consumers, `stop()` and `start()` all listener containers.
2424
When using `@KafkaListener` s, `stop()` and `start()` the `KafkaListenerEndpointRegistry` bean.
2525

0 commit comments

Comments
 (0)