mirror of https://github.com/apache/kafka.git
Reverts #16922 and #18732 of incomplete feature. PRs #16922 and #18732 are part of [KIP-1035](https://cwiki.apache.org/confluence/display/KAFKA/KIP-1035%3A+StateStore+managed+changelog+offsets). In particular, on starting a Kafka Streams instance, if it has pre-existing state, the state stores are initialized on the main thread. Part of this initialization registers the stateful metrics with the JMX thread-id tag of `main`. This breaks the KIP-1076 implementation where need to register metrics with thread-id tags of `xxxStreamThread-N`. This is necessary due to the fact that the `StreamsMetric` is a singleton shared by all `StreamThread` instances, so we need to make sure only add metrics for the current `StreamThread` otherwise duplicate metrics are registered. This PR reverts the changes until a fix is implemented, allowing the individual `StreamThread`s to register the metrics. Reviewers: Matthias J. Sax <matthias@confluent.io> |
||
---|---|---|
.. | ||
.scalafmt.conf | ||
checkstyle.xml | ||
import-control-clients-integration-tests.xml | ||
import-control-coordinator-common.xml | ||
import-control-core.xml | ||
import-control-examples.xml | ||
import-control-group-coordinator.xml | ||
import-control-jmh-benchmarks.xml | ||
import-control-metadata.xml | ||
import-control-server-common.xml | ||
import-control-server.xml | ||
import-control-share-coordinator.xml | ||
import-control-storage.xml | ||
import-control-test-common-internal-api.xml | ||
import-control-test-common-runtime.xml | ||
import-control-test-common-util.xml | ||
import-control-transaction-coordinator.xml | ||
import-control.xml | ||
java.header | ||
suppressions.xml |