Steadybit logoResilience Hub
Try SteadybitGitHub icon
Steadybit logoResilience Hub

Check Consumer State

CheckCheck
Check the consumer state.
Install now

Check Consumer State

Check the consumer state.
CheckCheck
Install now

Check Consumer State

CheckCheck
Check the consumer state.
Install now

Check Consumer State

Check the consumer state.
CheckCheck
Install now
Go back to list
The action "Check Consumer State" within the experiment editor.The action "Check Consumer State" within the experiment editor.

Introduction

With this action, Steadybit can check the state of a consumer for a given time.

Use Cases

  • You can check the state of your consumer during your experiments.

Parameters

ParameterDescriptionDefault
DurationThe duration of the attack.10s
Expected State ListRequired. The state to look after (Dead, Stable, Empty, Unknown, CompletingRebalance, PreparingRebalance)
State Check ModeHow often should the state be expected. "At least once" or "All the time"

Useful Templates

See all
Simulate Kafka brokers downtime and see how consumers are handling topic lag

An experiment to block access to brokers for consumers while producing records in the topic. The consumers should get back to consume when the kafka brokers are available again and the accumulated lag must be deal with quickly.

Message Queue
Kafka
Recoverability
Containers
Kafka consumers
Kafka topics
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
Start Using Steadybit Today

Get started with Steadybit, and you’ll get access to all of our features to discover the full power of Steadybit. Available for SaaS and on-prem!

Are you unsure where to begin?

No worries, our reliability experts are here to help: book a demo with them!

Statistics
-Stars
Tags
Message Queue
Kafka
Homepage
hub.steadybit.com/extension/com.steadybit.extension_kafka
License
MIT
MaintainerSteadybit
Install now
Steadybit logoResilience Hub
Try Steadybit
© 2025 Steadybit GmbH. All rights reserved.
Twitter iconLinkedIn iconGitHub icon