I am running this kafka producer example mentioned in its site
The code:
public class TestProducer { public static void main(String[] args) {
You need to add the SLF4j logging implementation. if you are using maven as the build tool try adding this following to your pom.xml and see if it works ..
org.slf4j slf4j-log4j12 1.7.5