Skip to content

Commit ddabfb1

Browse files
committed
Update property name
Signed-off-by: Federico Valeri <[email protected]>
1 parent 1d62574 commit ddabfb1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

bin/docker/kafka_bridge_config_generator.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ EOF
1919
if [ -n "$KAFKA_BRIDGE_METRICS_JMX_CONFIG" ]; then
2020
METRICS_JMX_PROPERTIES=$(cat <<EOF
2121
#JMX Exporter configuration
22-
bridge.metrics.jmx.exporter.config.path=${KAFKA_BRIDGE_METRICS_JMX_CONFIG}
22+
bridge.metrics.exporter.config.path=${KAFKA_BRIDGE_METRICS_JMX_CONFIG}
2323
EOF
2424
)
2525
fi

config/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ bridge.id=my-bridge
44
# uncomment the following line to enable JMX Exporter metrics, check the documentation for more details
55
#bridge.metrics=jmxPrometheusExporter
66
# optionally, you can also set a custom configuration file
7-
#bridge.metrics.jmx.exporter.config.path=/path/to/my-jmx-exporter-config.yaml
7+
#bridge.metrics.exporter.config.path=/path/to/my-exporter-config.yaml
88

99
# uncomment the following lines to enable Strimzi Reporter metrics, check the documentation for more details
1010
#bridge.metrics=strimziMetricsReporter

documentation/modules/proc-configuring-kafka-bridge-jmx-metrics.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Enable metrics for the Kafka Bridge by setting the `bridge.metrics` configuratio
1919
bridge.metrics=jmxPrometheusExporter
2020
----
2121
+
22-
Optionally, you can set a custom JMX Exporter configuration file using the `bridge.metrics.jmx.exporter.config.path` property.
22+
Optionally, you can set a custom JMX Exporter configuration file using the `bridge.metrics.exporter.config.path` property.
2323
If this is not set, a default configuration will be applied.
2424

2525
. Run the Kafka Bridge script to enable metrics.

src/test/java/io/strimzi/kafka/bridge/config/ConfigTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public void testJmxExporterMetricsType() {
9393
"bridge.id", "my-bridge",
9494
"kafka.bootstrap.servers", "localhost:9092",
9595
"bridge.metrics", "jmxPrometheusExporter",
96-
"bridge.metrics.jmx.exporter.config.path", configFilePah,
96+
"bridge.metrics.exporter.config.path", configFilePah,
9797
"http.host", "0.0.0.0",
9898
"http.port", "8080"
9999
);

0 commit comments

Comments
 (0)