Update TTL for a topic so records stay in the topic for 10 days. Do this for this topic only. Leave all other topics TTL's the same, current configuration
标签:
apache-kafka
相关问题
- Delete Messages from a Topic in Apache Kafka
- Serializing a serialized Thrift struct to Kafka in
- Kafka broker shutdown while cleaning up log files
- Getting : Error importing Spark Modules : No modul
- How to transform all timestamp fields when using K
相关文章
- Kafka doesn't delete old messages in topics
- Kafka + Spark Streaming: constant delay of 1 secon
- Spring Kafka Template implementaion example for se
- How to fetch recent messages from Kafka topic
- Determine the Kafka-Client compatibility with kafk
- Kafka to Google Cloud Platform Dataflow ingestion
- Kafka Producer Metrics
- Spark Structured Streaming + Kafka Integration: Mi
you have already asked about that and I have already replied here : Update TTL for a particular topic in kafka using Java
or maybe are you asking to do that not in Java but just using Kafka tools ? In this case there is the kafka-topics.sh command line tool for doing that using the --alter option.
Because altering using kafka-topics script could be removed in next release, you should use the kafka-configs script :