Steadybit logoResilience Hub
Try SteadybitGitHub icon
Steadybit logoResilience Hub

Check Topic Lag

Check

Check

New
Check the consumer lag for a given topic (lag is calculated by the difference between topic offset and consumer offset).
Install now

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

Install now

Check Topic Lag

Check

Check

New
Check the consumer lag for a given topic (lag is calculated by the difference between topic offset and consumer offset).
Install now

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

Install now
Go back to list
The action "Check Topic Lag" within the experiment editor.The action "Check Topic Lag" within the experiment editor.

Introduction

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

Use Cases

  • You can check the topic lag of your consumer during your experiments.
  • You can fail the experiment if the lag is over a certain threshold.

Parameters

ParameterDescriptionDefault
DurationThe duration of the attack.10s
Topic to track lagRequired. The topic to check the lag
Lag alert thresholdRequired. The acceptable threshold of offset difference between the topic offset and the consumer offset
Statistics
-Stars
Tags
Message Queue
Kafka
Homepage
hub.steadybit.com/extension/com.steadybit.extension_kafka
License
MIT
MaintainerSteadybit
Install now

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

Check Kafka consumer's reaction to record loss
Intent

Intentionally deny access to the topic for consumers and during this time where consumption is stopped, delete records.

We can check the logs of the consumers to see how they handle the loss of records and also authorization access issues.

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!

Steadybit logoResilience Hub
Try Steadybit
© 2024 Steadybit GmbH. All rights reserved.
Twitter iconLinkedIn iconGitHub icon