Play this article
Install the tools for the command line
brew install kafka
Check the config for a topic
kafka-configs \
--zookeeper KAFKA_ZOOKEPER:2181 \
--entity-type topics \
--entity-name TOPIC_NAME \
--describe
Change the config for a topic (retention time to 14 days)
kafka-configs \
--zookeeper KAFKA_ZOOKEPER:2181 \
--alter --entity-type topics \
--entity-name aws.iot.raw \
--add-config retention.ms=1209600000