Skip to content
On this page

txn terminate

Generated from the CLI’s own command registry by scripts/generate-cli-docs.mjs — do not edit by hand; run that script again after changing a command.

kafka txn terminate <transactionalId>

Force-terminate a transactional id’s current transaction

Flags

Flag Description
--brokers <string> comma-separated broker list, e.g. localhost:9092
--timeout <number> transaction timeout in ms for the fenced producer
--yes confirm the termination without an interactive prompt

Examples

kafka txn terminate orders-producer-1 --brokers localhost:9092 --yes