Forrest logo
back to context overview

kcat

List of commands for kcat:

  • kcat:tldr:15310 kcat: List metadata for all topics and brokers.
    $ kcat -L -b ${brokers}
    try on your machine
    explain this command
  • kcat:tldr:2e733 kcat: Consume messages as a Kafka consumer group.
    $ kcat -G ${group_id} ${topic} -b ${brokers}
    try on your machine
    explain this command
  • kcat:tldr:69fd4 kcat: Publish messages by reading from a file.
    $ kcat -P -t ${topic} -b ${brokers} ${filename}
    try on your machine
    explain this command
  • kcat:tldr:91274 kcat: Consume messages starting with the newest offset.
    $ kcat -C -t ${topic} -b ${brokers}
    try on your machine
    explain this command
  • kcat:tldr:9e356 kcat: Get offset for a topic/partition for a specific point in time.
    $ kcat -Q -t ${topic}:${partition}:${unix_timestamp} -b ${brokers}
    try on your machine
    explain this command
  • kcat:tldr:c0c1e kcat: Consume messages starting with the oldest offset and exit after the last message is received.
    $ kcat -C -t ${topic} -b ${brokers} -o beginning -e
    try on your machine
    explain this command
    kcat:tldr:c1800 kcat: Publish message by reading from `stdin`.
    $ echo ${message} | kcat -P -t ${topic} -b ${brokers}
    try on your machine
    explain this command
  • kcat:tldr:ca6fd kcat: List metadata for a specific topic.
    $ kcat -L -t ${topic} -b ${brokers}
    try on your machine
    explain this command
back to context overview