Documentation

Package

On this page

Command reference

General

  • completion Print a shell completion script for bash, zsh, or fish
  • doctor Report where connection settings come from — config file, environment, profile, or flag
  • init Scaffold a kafka.config file in the current directory
  • ping Check connectivity to the cluster
  • profiles List the named connection profiles configured under cli.profiles
  • studio Launch the local web UI for browsing and driving the cluster

acl

  • acl add Create one or more ACLs, granting or denying an operation
  • acl list List ACLs matching a filter, or every ACL by default
  • acl remove Delete every ACL matching a filter, per principal

admin

  • admin call Call any Admin method by name — the escape hatch for everything without its own command
  • admin methods List every Admin method admin call can reach, and how each is classified

cluster

config

group

quota

  • quota alter Set or remove client quota values for one entity
  • quota describe Describe client quotas matching an entity filter

scram

  • scram delete Delete a SCRAM credential for one or more users
  • scram list List SCRAM credentials for one or more users, or every user
  • scram set Create or update a SCRAM credential for one or more users

share-group

token

  • token create Create a delegation token
  • token expire Expire a delegation token, immediately by default
  • token list List delegation tokens, optionally filtered by owner
  • token renew Renew a delegation token, extending its expiry

topic

txn

  • txn abort Write an abort marker for one in-flight transaction on a topic partition
  • txn describe Describe one or more transactional ids
  • txn fence Fence out a transactional id’s current producer, bumping its epoch
  • txn list List transactions known to the cluster, optionally filtered
  • txn terminate Force-terminate a transactional id’s current transaction