kafka-streams: experiment with exposing jmx

This commit is contained in:
Adam 2022-04-24 11:33:18 +02:00
parent 12df3b80be
commit 4b5fb7a944

View file

@ -56,6 +56,14 @@ dependencies {
application { application {
mainClass.set("dev.adamko.kafkatorio.processor.EventProcessorKt") mainClass.set("dev.adamko.kafkatorio.processor.EventProcessorKt")
// applicationDefaultJvmArgs += listOf(
// "-Dcom.sun.management.jmxremote.port=9186",
// "-Dcom.sun.management.jmxremote.rmi.port=9186",
// "-Dcom.sun.management.jmxremote.ssl=false",
// "-Dcom.sun.management.jmxremote.local.only=false",
// "-Dcom.sun.management.jmxremote.authenticate=false",
// )
} }
tasks.withType<KotlinCompile> { tasks.withType<KotlinCompile> {