Note: Assuming you add
--bootstrap-server
to all of them
> kcat -C -t <TOPIC> -e -o -beginning | jq -r '. | {id: .id, name: .name, tombstone: .tombstone} | [.[]] | @csv' > prod_companies.csv
> kafka-consumer-groups.sh --reset-offsets --to-earliest --group <CONSUMER_GROUP> --topic <TOPIC> --to-earliest --execute
> kafka-log-dirs.sh --describe --topic-list <TOPIC> | grep '^{' | jq '[ ..|.size? | numbers ] | add' | numfmt --to iec --format '%8.4f'
> kcat -C -t <TOPIC> -C -e -o -beginning | jq -r '. | select(.<KEY_TO_MATCH> == "<VALUE_TO_MATCH>")'