Resetting Kafka Topics

Let's say you're working on a program to load a Kafka topic and you mess up and want to start over. ┬áThere are two good ways of doing this. ┬áBoth of these methods involve connecting to the name node and running shell scripts in /usr/hdp/[version]/kafka/bin (for the Hortonworks Data Platform; for some other distro, I…