I am quite new to cluster environment and so is the entire concept of sotrm/kafka. I have everything running as it should. But I am struggling to read config.properties file that has config information to Kafka/Cassandra/Solr/Couch databases. I created a condif.properties file with all these information. I load the config file on the topology. I set the properties as a static variable in a class. Bolts call CassandraClient class that I wrote to load any data that comes to KafkaSpout. CassandraClient gets the cassandra host and other information from the properties file.
This works perfectly fine locally. But when I deployed it on the server, all these config variables are null, meaning that cassandra host and other information are all null. If anyone has any idea how to tackle this would be really great. Thanks. -- Kushan Maskey
