Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Commit 6ae4b06

Browse files
TJCmarkglh
authored andcommitted
Tweak documentation on consumer shutdown method call (#52)
See #51
1 parent f6aaeb7 commit 6ae4b06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ A `KinesisConsumer` is used internally for the `Kinesis.source`. All rules descr
331331
### Graceful Shutdown
332332

333333
Currently the KinesisConsumer Shutdown works as follows:
334-
* Shutdown is called on the `KinesisConsumer` (either explicitly or via the jvm shutdown hook)
334+
* `stop()` is called on the `KinesisConsumer` (either explicitly or via the jvm shutdown hook)
335335
* This then calls `requestShutdown` on the KCL Worker, blocking until completion.
336336
* The KCL Worker propagates this down to the `ConsumerProcessingManager` (Which is the `IRecordProcessor`) - calling `shutdownRequested` on each instance (one per shard).
337337
* When `shutdownRequested` is called, this sends a `GracefulShutdown` message to the `ConsumerWorker` Actor, blocking until a response is received (Ask + Await).

0 commit comments

Comments
 (0)