Thanks for bringing this up! I disagree that " there is a valid use-case to keep the flag "delete.topic.enable" as "false" in server.properties configs, so that someone doesn't accidentally delete a topic,". The flag was added and set to "false" back in the days when topic deletion was not a stable feature, and enabling it meant a risk of encountering serious bugs. Things changed in the last 4-5 years: - Topic deletion is now a stable and reliable feature. We have it enabled by default in Confluent Cloud and over a few years and hundreds of clusters, there was maybe one issue related to deletion of large number of partitions, and that was fixed. - We have authorization and ACLs, so the permissions to delete topics can be granted on an individual basis. This is the correct way to handle concerns about someone accidentally deleting data valuable data. Note that ACLs are dynamic.
IMO, the best solution is to use the upcoming major release (3.0) to enable topic deletion by default and remove the flag entirely. Gwen On Wed, Nov 25, 2020 at 9:36 AM Prateek Agarwal <prat0...@gmail.com> wrote: > > Hi, > > I've created KIP-688 to enable support for dynamic update of > delete.topic.enable config. > https://cwiki.apache.org/confluence/display/KAFKA/KIP-688%3A+Support+dynamic+update+of+delete.topic.enable+config > > Please take a look and let me know if you have any feedback. > > Thanks > -- > Prateek Agarwal -- Gwen Shapira Engineering Manager | Confluent 650.450.2760 | @gwenshap Follow us: Twitter | blog