Steadybit logoReliability Hub
GitHubGitHub iconStart Free Trial
Steadybit logoReliability Hub

Produce (Records / S)

AttackAttack
Produce records to a topic at a constant rate (records per second) for the attack duration
Targets:
Kafka Topics
Install now

Produce (Records / S)

Produce records to a topic at a constant rate (records per second) for the attack duration
AttackAttack
Install now

Produce (Records / S)

AttackAttack
Produce records to a topic at a constant rate (records per second) for the attack duration
Install now

Produce (Records / S)

Produce records to a topic at a constant rate (records per second) for the attack duration
AttackAttack
Install now
Go back to list
The action "Produce (Records / s)" within the experiment editor.The action "Produce (Records / s)" within the experiment editor.

Introduction

Produces records to a Kafka topic at a constant rate (records per second) for the entire attack duration. For example, 5 records/second over 60 seconds produces 300 records total.

For producing a fixed total number of records (distributed across the duration), use Produce (# of Records) instead.

Use Cases

  • Generate a steady stream of messages to simulate normal production load during fault injection.
  • Create sustained consumer lag by producing at a rate higher than the consumer can process.
  • Combine with Check Consumer Lag to verify that consumers keep up under a known production rate.

Parameters

ParameterDescriptionDefault
DurationHow long the producer runs at the specified rate. Total records produced = rate x duration.10s
Records per secondsThe number of records to produce per second. Min: 1, Max: 10.
Record KeyOptional. The Kafka record key. Determines which partition receives the record based on the topic's partitioning strategy (default is round-robin when no key is set).
Record ValueRequired. The message body to produce. Every record uses this same value.
Record HeadersOptional. Kafka record headers to attach to each produced record. Specified as key-value pairs.
Success RateMinimum percentage of records that must be produced without errors for the action to succeed. If the actual success rate drops below this threshold, the experiment fails.100%
MaxConcurrentMaximum number of parallel produce requests in flight at once. Min: 1, Max: 10.5

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

More Kafka Topic Actions

See all
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
AWS
Homepage
hub.steadybit.com/extension/com.steadybit.extension_kafka
License
MIT
MaintainerSteadybit
Install now
Steadybit logoReliability Hub
Start Free Trial
© 2026 Steadybit GmbH. All rights reserved.
Twitter iconLinkedIn iconGitHub icon