Check Topic Lag
Check
New
Check the consumer lag for a given topic (lag is calculated by the difference between topic offset and consumer offset).
Check Topic Lag
Check the consumer lag for a given topic (lag is calculated by the difference between topic offset and consumer offset).Check
Check Topic Lag
Check
New
Check the consumer lag for a given topic (lag is calculated by the difference between topic offset and consumer offset).
Check Topic Lag
Check the consumer lag for a given topic (lag is calculated by the difference between topic offset and consumer offset).Check
Go back to list
Validate consumer's behavior when new leader is elected
Verify that your application handles a change of the leader properly.
Motivation
By testing your system's resilience to Kafka leader changes in a partition, you can identify potential weaknesses and take appropriate measures to improve its performance.
Structure
To conduct this experiment, we will ensure that all Kafka topics and producers are ready and that the consumer receives and processes messages correctly. We will then elect a new leader for one partition in Kafka and expect the system to work fine.
Message Queue
Kafka
Recoverability
Kafka consumers
Kafka topics