Based on my testing storm-kafka & storm-hdfs connector along with it dependencies are unable to be packaged together .
If we tried to package it using maven assembly plugin storm-hdfs errors out saying
"java.lang.RuntimeException: Error preparing HdfsBolt: No FileSystem for scheme: hdfs"
To avoid we need to use maven shade plugin as documented in the README here
Now when we use maven shade plugin storm-kafka throws an initial error about
After we explicitly added metrics dependency to the pom file
KafkaSpout now errors out with
KafkaSpout works fine if we use assembly plugin. Due to the behavior of these two connectors one works assembly and another works with shade it looks like we won't be able to use them together.