KafkaConsumerLifecycle
Value members
Abstract methods
Wait for consumer to shut down. Note that awaitTermination
is guaranteed
to complete after consumer shutdown, even when the consumer is
cancelled with terminate
.
Wait for consumer to shut down. Note that awaitTermination
is guaranteed
to complete after consumer shutdown, even when the consumer is
cancelled with terminate
.
This method will not initiate shutdown. To initiate shutdown and wait for
it to complete, you can use terminate >> awaitTermination
.
Whenever terminate
is invoked, an attempt will be made to stop the
underlying consumer. The terminate
operation will not wait for the
consumer to shutdown. If you also want to wait for the shutdown
to complete, you can use terminate >> awaitTermination
.
Whenever terminate
is invoked, an attempt will be made to stop the
underlying consumer. The terminate
operation will not wait for the
consumer to shutdown. If you also want to wait for the shutdown
to complete, you can use terminate >> awaitTermination
.