This is an area that is being worked on. See KIP-107 for details. https://cwiki.apache.org/confluence/display/KAFKA/KIP-107%3A+Add+purgeDataBefore%28%29+API+in+AdminClient <https://cwiki.apache.org/confluence/display/KAFKA/KIP-107:+Add+purgeDataBefore()+API+in+AdminClient>
-hans > On Aug 10, 2017, at 10:52 AM, Sven Ludwig <s_lud...@gmx.de> wrote: > > Hello, > > assume that all producers and consumers regarding a topic-partition have been > shutdown. > > Is it possible in this situation to empty that topic-partition, while the > other topic-partitions keep working? > > Like for example, is it possible to trigger a log truncation to 0 on the > leader for that partition using some admin tool? > > Kind Regards, > Sven >