Yea, this is just a simple snippet of how to do this.
Boker with JMX is how to get broker from zk

Attachment: BrokerWithJMX.scala
Description: Binary data


Boris Lublinsky
FDP Architect
boris.lublin...@lightbend.com
https://www.lightbend.com/

On Aug 8, 2018, at 9:18 PM, Ted Yu <yuzhih...@gmail.com> wrote:

Boris:
BrokerWithJMX is referenced but I didn't find the class source after a
brief search.

FYI

On Wed, Aug 8, 2018 at 7:10 PM Boris Lublinsky <
boris.lublin...@lightbend.com> wrote:

Its actually quite simple, unfortunately you have to read, and then write
to TSDB.
Enclosed is an example doing this and dumping to InfluxDB


Boris Lublinsky
FDP Architect
boris.lublin...@lightbend.com
https://www.lightbend.com/

On Aug 8, 2018, at 8:46 PM, Raghav <raghavas...@gmail.com> wrote:

Hi

Is there any Java API available so that I can enable our Kafka cluster's
JMX port, and consume metrics via JMX api, and dump to a time series
database.

I checked out jmxtrans, but currently it does not dump to TSDB (time series
database).

Thanks.

R




Reply via email to