Is there a way to read from a .properties file that is located outside the Topology fat jar ?
Would still not be ideal to update the .properties file on each machine, but it is better than having to update the ZkHosts inside the topology code. From: Alexander T <[email protected]><mailto:[email protected]> Reply: [email protected] <[email protected]>><mailto:[email protected]> Date: March 24, 2016 at 5:05:52 AM To: [email protected] <[email protected]>><mailto:[email protected]> Subject: Re: Where to maintain the list of KafkaSpouts' ZkHosts? We also have this problem for Kinesis. I wondered if there is an API for spouts to read out the current zk hosts from Storm. On Mar 24, 2016 01:08, "I PVP" <[email protected]<mailto:[email protected]>> wrote: What is the recommended approach to maintain the list of ZkHosts on a central “place" in which all KafkaSpouts can call it and it easy to updated instead of having it hard coded inside each the Topology? Thanks -- IPVP
