I am working with Kafka Streams and I have run the example stream found here, and this works fine. I want to know if there is a way to replace the following command,
./bin/kafka-run-class org.apache.kafka.streams.examples.wordcount.WordCountDemo
with one that uses a local file instead of this source on Github. I tried copying the file from Github and putting it in a local file, streams
like so:
./bin/kafka-run-class ./streams/WordCountDemo.java
but it gives me the following error message:
Error: Could not find or load main class ..streams.WordCountDemo.java