-
Notifications
You must be signed in to change notification settings - Fork 92
Metrics Collector fails to return brokers on localhost #225
Comments
NOTE: in above
print statement I added to code myself to double check my hypothesis that list of brokers returned empty. |
Here's the bug in your setup: |
Hi Ambud I tried both localhost and 127.0.0.1 if that's what you are referring to. Thanks for your help. |
Could you please confirm that the zk path used in kafkastats is the same as what the broker is using? From the output posted in the original question that is not the same hence the NPE. |
Hi @ambud
I don't see the
|
@ambud
removes all dependencies for jackson. @kabochya might know why commit a744e50 bump dropwizard version to 1.3.15 and remove patch dependencies of jetty and jackson (#187) |
We haven't tested Dr.K in operations on compose so I am not sure if it will behave as expected. The two exception posted are pointing to two different issues. The original issue posted is related to znode paths that should be consistent between Dr. kafka, kafkastats and the kafka cluster i.e. all of them should use the same zookeeper path for detection of the kafka cluster. The second one points to a dependency issue which we will likely need to get back to you on and might have been auto patched via github bot causing this issue. |
Hi
I have been struggling to get the Kafka metrics collector to start on broker. I have Kafka cluster running locally with 3 brokers on localhost (on ports 9092-9094)
This is the command I use to run stored in start.sh file.
The list of brokers is empty. When I use zookeeper shell directly I retrieve 3 active brokers just fine.
Can someone help with what I am doing wrong here?
The text was updated successfully, but these errors were encountered: