Github user harshach commented on the pull request:
https://github.com/apache/storm/pull/338#issuecomment-65884958
@Lewuathe its just one kafka request right? . KafkaSpout makes one request
if that request fails than you'll get a exception and if that exception happens
to be UnknownTopic than you can do the sleep like you have it now. IMO its
better to rely on Kafka api and accept their exception than have a work around
using zookeeper. Also current code assumes that users always going to use kafka
zookeeper as part KafkaSpout config. This is not a right assumption users can
also give broker hosts instead kafka hosts. In that case KafkaSpout uses storm
zookeepers to store the offset info.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---