Skip to content

Commit

Permalink
Sahil/Sonali | 11 | Updates script to update retention policy
Browse files Browse the repository at this point in the history
  • Loading branch information
Sahil Mehrotra authored and Sahil Mehrotra committed Aug 6, 2021
1 parent aa94882 commit 96b92d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/updateKafkaRetentionPolicy.sh
Expand Up @@ -48,7 +48,7 @@ sudo su root
mkdir -p /data/kafka
systemctl stop confluent-kafka
systemctl stop confluent-zookeeper
sed -i -e 's/log.retention.hours=168/log.retention.hours=72/g' /etc/kafka/server.properties
sed -i -e 's/log.retention.hours=3/log.retention.hours=72/g' /etc/kafka/server.properties
systemctl start confluent-zookeeper
systemctl start confluent-kafka
EOF
Expand Down

0 comments on commit 96b92d4

Please sign in to comment.