File lock-down-jmxremote.patch of Package kafka

Index: bin/kafka-run-class.sh
===================================================================
--- bin/kafka-run-class.sh.orig
+++ bin/kafka-run-class.sh
@@ -164,7 +164,8 @@ shopt -u nullglob
 
 # JMX settings
 if [ -z "$KAFKA_JMX_OPTS" ]; then
-  KAFKA_JMX_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false  -Dcom.sun.management.jmxremote.ssl=false "
+  # disable remote JMX connections to avoid security concerns
+  KAFKA_JMX_OPTS=" "
 fi
 
 # JMX port to use
openSUSE Build Service is sponsored by