Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
--
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzSelv committed Aug 21, 2019
1 parent d3eb4ce commit 5b9dce9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/init-topic.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

topic="megaphone-control"
$KAFKA/bin/kafka-configs.sh --zookeeper localhost --alter --entity-type topics --entity-name $topic --add-config retention.ms=1000
$KAFKA/bin/kafka-topics.sh --delete --zookeeper localhost:2181 --topic $topic
Expand Down

0 comments on commit 5b9dce9

Please sign in to comment.