Re: Get topic creationTimestamp through Admin Client (or Client)

2024-10-24 Thread Erik Godding Boye
ye > Date: Monday, October 21, 2024 at 10:17 AM > To: users@kafka.apache.org > Subject: Re: Get topic creationTimestamp through Admin Client (or Client) > Hi Ömer, > > I don't disagree with you on the general principles for deletion, but let's > keep focus on the question

Re: Get topic creationTimestamp through Admin Client (or Client)

2024-10-21 Thread Vinay Bagare
topic creationTimestamp through Admin Client (or Client) Hi Ömer, I don't disagree with you on the general principles for deletion, but let's keep focus on the question I posted. :-) And yes, I am aware of the LinkedIn state-machine for cleaning up metadata. > What do you mean by

Re: Get topic creationTimestamp through Admin Client (or Client)

2024-10-21 Thread Erik Godding Boye
Hi Ömer, I don't disagree with you on the general principles for deletion, but let's keep focus on the question I posted. :-) And yes, I am aware of the LinkedIn state-machine for cleaning up metadata. > What do you mean by "this must be done external to " ? I mean that I want to do this with br

Re: Get topic creationTimestamp through Admin Client (or Client)

2024-10-21 Thread Ömer Şiar Baysal
Hi Erik, What do you mean by "this must be done external to " ? If the cluster still uses ZK for metadata, you can construct a read-only Zookeeper client to get zNode creation timestamp for the topic from ZK node, which reflects the creation time. Also determining unused topics can be tricky if

Get topic creationTimestamp through Admin Client (or Client)

2024-10-20 Thread Erik Godding Boye
Hi Kafka experts, I wrote a small utility application to terminate (delete) unused topics in our clusters. The application is hosted at https://github.com/statnett/k3a-topic-terminator (but this is not an attempt to promote the app; it's fresh ;-). We just got rid of 2816 topics in one of our clus