mesos/kafka

Add javaagent to brokers

Opened this issue · 0 comments

Is it possible to add a java agent to the JVM that is launched for the brokers? I noticed that you can specify the --jvm-options parameter when creating the broker with the CLI and API. However, I'm not sure how to make the jar file for the agent available to the executor when the broker is started.

Is it possible to send a custom zip of kafka with additional data present to the executor?

The reason I want to do this is to report the broker JMX metrics to NewRelic, which requires a java agent to be set, and a config file to be present.