...
A method called childConsumerIsAlive()
will be introduced which returns a boolean value indicating if the secondary thread created has started or not. If true, then the thread is alive. This allows the user to check if a second thread is running.
Please note that the intension for this section of the KIP is only to given an overview of what will be done. Please take a look at the Design section below to get a better idea of how this mode operates.
Design
Here is the current design of a consumer and what happens when it recovers from a crash:
...