Skip to content

Instantly share code, notes, and snippets.

@nuria
Last active June 30, 2021 16:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nuria/58c292dbee6397c567a7428f4498cec9 to your computer and use it in GitHub Desktop.
Save nuria/58c292dbee6397c567a7428f4498cec9 to your computer and use it in GitHub Desktop.
kafkacat auth and hexdump
kafkacat -F ./kafkacat.auth -p 0 -t postgres.public.activities -o 31992 -u -c1 | hexdump -C
sasl.username=
sasl.password=
sasl.mechanisms=PLAIN
# Required for correctness in Apache Kafka clients prior to 2.6
#client.dns.lookup=use_all_dns_ips
# Best practice for Kafka producer to prevent data loss
acks=all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment