Skip to content

Commit 972a8a5

Browse files
committed
Configured new Strimzi metrics exporter client class
Fixed scholzj comments Signed-off-by: Paolo Patierno <ppatierno@live.com>
1 parent 46119b9 commit 972a8a5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
* Use the `v1` API in the Cluster Operator
66
* Use the `v1` API as the _stored_ API version
7+
* Update HTTP bridge to 1.0.0.
8+
* `/metrics` endpoint is no longer available on the regular HTTP interface (port 8080 by default). It is now available on the HTTP management interface, 8081.
9+
Users upgrading to Strimzi 1.0.0+ should check all monitoring configurations that scrape Kafka Bridge metrics and update them to use port 8081 instead of 8080 or any other non-default port before or immediately after the upgrade to avoid metrics collection failures.
710

811
### Major changes, deprecations, and removals
912

@@ -18,9 +21,6 @@
1821
* The `ServerSideApplyPhase1` feature gate moves to beta stage and is enabled by default.
1922
If needed, `ServerSideApplyPhase1` can be disabled in the feature gates configuration in the Cluster Operator.
2023
* Fixed auto-rebalancing on scale up not running anymore when Cruise Control is not ready yet on the first attempt.
21-
* Update HTTP bridge to 1.0.0.
22-
* `/metrics` endpoint is no longer available on the regular HTTP interface (port 8080 by default). It is now available on the HTTP management interface, 8081.
23-
Users upgrading to Strimzi 0.51.0+ should check all monitoring configurations that scrape Kafka Bridge metrics and update them to use port 8081 instead of 8080 or any other non-default port before or immediately after the upgrade to avoid metrics collection failures.
2424

2525
### Major changes, deprecations, and removals
2626

@@ -577,7 +577,7 @@
577577
The StatefulSet template properties in the `Kafka` custom resource in `.spec.zookeeper.template.statefulSet` and `.spec.kafka.template.statefulSet` are deprecated and will be ignored.
578578
You should remove them from your custom resources.
579579

580-
## 1.0.0
580+
## 0.34.0
581581

582582
* Add support for Kafka 3.4.0 and remove support for Kafka 3.2.x
583583
* Stable Pod identities for Kafka Connect and MirrorMaker 2 (Feature Gate `StableConnectIdentities`)

cluster-operator/src/main/java/io/strimzi/operator/cluster/model/KafkaBridgeConfigurationBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ public KafkaBridgeConfigurationBuilder withStrimziMetricsReporter(StrimziMetrics
337337
printSectionHeader("Strimzi Metrics Reporter configuration");
338338
writer.println("bridge.metrics=" + TYPE_STRIMZI_METRICS_REPORTER);
339339
// the kafka. prefix is required by the Bridge to pass Kafka client configurations
340-
writer.println("kafka.metric.reporters=" + StrimziMetricsReporterConfig.KAFKA_CLASS);
340+
writer.println("kafka.metric.reporters=" + StrimziMetricsReporterConfig.CLIENT_CLASS);
341341
writer.println("kafka." + StrimziMetricsReporterConfig.LISTENER_ENABLE + "=false");
342342
writer.println("kafka." + StrimziMetricsReporterConfig.ALLOW_LIST + "=" + model.getAllowList());
343343
writer.println();

0 commit comments

Comments
 (0)