Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Status

Current state: Under DiscussionAccepted

Discussion thread: TBD here

JIRA: KAFKA-14740

Release: 3.5.0

Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).

...

1) A new configuration setting for MirrorSourceConnector:
Name: add.source.alias.to.metrics
Description: Deprecated. Whether to tag metrics with the source cluster alias. Metrics have the target, topic and partition tags. When this setting is enabled, it adds the source tag. This configuration will be removed in Kafka 4.0 and the default behavior will be to always have the source tag.
Type: boolean
Default: false
Update Mode: Read only


2) A new tag in MirrorSourceConnector metrics
If add.source.alias.to.metrics is set to true, a new tag, source, will be added to all metrics registered by MirrorSourceConnector. It will contain the source cluster alias. For example:
kafka.connect.mirror:type=MirrorSourceConnector,source=one,target=two,topic=newtopic,partition=0

The new tag will be added in the front of the list of tags so the tag order is the same as MirrorCheckpointConnector metrics.

...