I'm using Kafka Cluster and Debezium MySql connector to get messages from database updates to an Elasticsearch. For a while I was doing some test and I ended up with a mixed ES so I wanted to do a fresh full load to Elasticsearch.
So I wanted to stop the debezium connector to stop feeding ES and remove all the indexes so when I start again the connector it could do a full load. As far as I know, the connector only works with pause/resume actions and those does not do an initial load.
At this moment I will remove manually the connector and the topics created and re-create them so it can load as it was initial but any ideas of how to perform this clean up process in the right steps?