I am trying to deploy storm/flux topology to remote server. The topology gets deployed succesfully but on the servers storm UI, it shows spout lag error:
Unable to get offset lags for kafka. Reason: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /brokers/topics/blockdata/partitions at org.apache.zookeeper.keeperExceptiom.create...
Although I have checked in my zookeeper using following:
ls /brokers/topics/blockdata/partitions, it exists.
Here is my spout config:
- id: "zkHosts"
className: "org.apache.storm.kafka.ZkHosts"
constructorArgs:
- "172.25.33.191:2181"
- id: "startingOffsetTime"
className: "kafka.api.OffsetRequest"
factory: "LatestTime"
- id: "spoutConfig"
className: "org.apache.storm.kafka.SpoutConfig"
constructorArgs:
- ref: "zkHosts"
- "blockdata"
- "/brokers/topics"
- "myId"
properties:
- name: "ignoreZkOffsets"
value: true
- name: "scheme"
ref: "stringMultiScheme"
- name: "startOffsetTime"
ref: "startingOffsetTime"
NOTE: This topology runs fine in local mode.
Please see the screenshots below: