Skip to content

Commit f887d5c

Browse files
Jay Bryantgaryrussell
authored andcommitted
Wording changes
Replacing some terms Polishing
1 parent 1a443f7 commit f887d5c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/reference/asciidoc/changes-since-1.0.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ When a replying listener returns an `Iterable` this property controls whether th
4848
See <<annotation-send-to>> for more information
4949

5050
Batch listeners can now be configured with a `BatchToRecordAdapter`; this allows, for example, the batch to be processed in a transaction while the listener gets one record at a time.
51-
With the default implementation, a `ConsumerRecordRecoverer` can be used to handle errors within the batch, without aborting the entire batch - this might be useful when using transactions.
51+
With the default implementation, a `ConsumerRecordRecoverer` can be used to handle errors within the batch, without stopping the processing of the entire batch - this might be useful when using transactions.
5252
See <<transactions-batch>> for more information.
5353

5454
==== Kafka Streams
@@ -239,7 +239,7 @@ See <<container-factory>> for more information.
239239
A new container property (`missingTopicsFatal`) has been added.
240240
See <<kafka-container>> for more information.
241241

242-
A `ConsumerStoppedEvent` is now emitted when a consumer terminates.
242+
A `ConsumerStoppedEvent` is now emitted when a consumer stops.
243243
See <<thread-safety>> for more information.
244244

245245
Batch listeners can optionally receive the complete `ConsumerRecords<?, ?>` object instead of a `List<ConsumerRecord<?, ?>`.

src/reference/asciidoc/kafka.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2439,7 +2439,7 @@ An error message is also logged when this condition occurs.
24392439
* `ConsumerStoppingEvent`: published by each consumer just before stopping.
24402440
* `ConsumerStoppedEvent`: published after the consumer is closed.
24412441
See <<thread-safety>>.
2442-
* `ContainerStoppedEvent`: published when all consumers have terminated.
2442+
* `ContainerStoppedEvent`: published when all consumers have stopped.
24432443

24442444
IMPORTANT: By default, the application context's event multicaster invokes event listeners on the calling thread.
24452445
If you change the multicaster to use an async executor, you must not invoke any `Consumer` methods when the event contains a reference to the consumer.
@@ -2533,7 +2533,7 @@ To solve this issue, the container publishes a `NonResponsiveConsumerEvent` if a
25332533
By default, this check is performed once every 30 seconds in each container.
25342534
You can modify this behavior by setting the `monitorInterval` (default 30 seconds) and `noPollThreshold` (default 3.0) properties in the `ContainerProperties` when configuring the listener container.
25352535
The `noPollThreshold` should be greater than `1.0` to avoid getting spurious events due to a race condition.
2536-
Receiving such an event lets you stop the containers, thus waking the consumer so that it can terminate.
2536+
Receiving such an event lets you stop the containers, thus waking the consumer so that it can stop.
25372537

25382538
====== Event Consumption
25392539

@@ -3120,7 +3120,7 @@ See <<after-rollback>> for more information.
31203120

31213121
When using a batch listener, version 2.4.2 introduced an alternative mechanism to deal with failures while processing a batch; the `BatchToRecordAdapter`.
31223122
When a container factory with `batchListener` set to true is configured with a `BatchToRecordAdapter`, the listener is invoked with one record at a time.
3123-
This enables error handling within the batch, while still allowing to abort the entire batch, depending on the exception type.
3123+
This enables error handling within the batch, while still making it possible to stop processing the entire batch, depending on the exception type.
31243124
A default `BatchToRecordAdapter` is provided, that can be configured with a standard `ConsumerRecordRecoverer` such as the `DeadLetterPublishingRecoverer`.
31253125
The following test case configuration snippet illustrates how to use this feature:
31263126

0 commit comments

Comments
 (0)