Delete All documents from a bucket

We want to clear all the documents from a particular bucket. Every week there will be 100K records getting collected in this bucket and once we are done with that week, we no more need that data. We would want to start the next week with fresh data flowing into the system.

What is the best way to clear all the data from a bucket?


You could enable flush on your bucket: