Skip to content

Instantly share code, notes, and snippets.

@tomaszprasolek
Created January 31, 2024 10:00
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 tomaszprasolek/ab1273213557a1449153eb6c3897a11d to your computer and use it in GitHub Desktop.
Save tomaszprasolek/ab1273213557a1449153eb6c3897a11d to your computer and use it in GitHub Desktop.
Kafka CLI - create topic and change config
kafka-topics.sh --bootstrap-server localhost:9092 --create --topic dlq-test-performance --partitions 3 --replication-factor 3 --config retention.ms=2419200000
kafka-configs.sh --bootstrap-server localhost:9092 --entity-type topics --entity-name dlq-test-performance --alter --add-config retention.ms=2419200000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment