Description
Trying to build sample streaming cube with the doc https://kylin.apache.org/docs15/tutorial/cube_streaming.html , but got error when generating the sample data:
./bin/kylin.sh org.apache.kylin.source.kafka.util.KafkaSampleProducer --topic kylin_demo --broker sandbox:6667 —delay 0
Exception in thread "main" java.lang.NoClassDefFoundError: kafka/producer/ProducerConfig
at org.apache.kylin.source.kafka.util.KafkaSampleProducer.main(KafkaSampleProducer.java:102)
Caused by: java.lang.ClassNotFoundException: kafka.producer.ProducerConfig
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 1 more
it should be related with KYLIN-1818