Steadybit logoReliability Hub
GitHubGitHub iconStart Free Trial
Steadybit logoReliability Hub

Produce (# of Records)

AttackAttack
Produce a fixed number of records to a topic, distributed evenly across the attack duration
Targets:
Kafka Topics
Install now

Produce (# of Records)

Produce a fixed number of records to a topic, distributed evenly across the attack duration
AttackAttack
Install now

Produce (# of Records)

AttackAttack
Produce a fixed number of records to a topic, distributed evenly across the attack duration
Install now

Produce (# of Records)

Produce a fixed number of records to a topic, distributed evenly across the attack duration
AttackAttack
Install now
Go back to list
The action "Produce (# of Records)" within the experiment editor.The action "Produce (# of Records)" within the experiment editor.

Introduction

Produces a fixed total number of records to a Kafka topic. The records are distributed evenly across the attack duration — for example, 100 records over 10 seconds produces approximately 10 records/second. The effective rate is: numberOfRecords / duration.

For rate-based production (records per second), use Produce Periodically instead.

Use Cases

  • Generate a known number of messages to create consumer lag, then verify consumers can catch up.
  • Produce test messages to a topic while injecting faults, and verify delivery success rate.
  • Inject a burst of messages to test consumer throughput under load.

Parameters

ParameterDescriptionDefault
DurationHow long the producer runs. The total number of records is distributed evenly across this duration.10s
Number of recordsTotal number of records to produce across the entire duration. The production rate is this value divided by the duration.
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
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

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