Skip to content

kafka: gate 3.0 bridge-state MBean registration - #588

Draft
bringhurst wants to merge 1 commit into
3.0-li-bridge/topic-identity-recoveryfrom
3.0-li-bridge/config-metrics-gate
Draft

bringhurst wants to merge 1 commit into
3.0-li-bridge/topic-identity-recoveryfrom
3.0-li-bridge/config-metrics-gate

Conversation

@bringhurst

Copy link
Copy Markdown
Member

Make registration of the new bridge-state MBeans opt-in, rather than changing the default Kafka metric registry.

li.protocol.bridge.config.metrics.enable defaults to false. It applies only to ZooKeeper brokers and requires a restart. When explicitly enabled, it reports the current behavior flags without enabling those behaviors. Disabled instances do not unregister gauges owned by an enabled instance. Existing JVM constructors remain available.

The default-off regression fails before the fix on both release lines. Enabled values, dynamic behavior flags, restart scope, KRaft exclusion and cleanup tests pass afterward. The 3.9 process profile enables diagnostics explicitly; preflight requires the setting in every migration phase, including dormant mode. All 72 Python tests pass.

This is a paired follow-up to the identity-recovery stack. The wrapper mapping/test changes are being qualified against matching new jars. Final-source process and wrapper qualification are still required; this PR is not rollout approval.

@bringhurst
bringhurst added this pull request to stack #581 September 11, 2026 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant