Skip to content

Require plugins to bind mbeans in namespace#28864

Closed
findepi wants to merge 1 commit into
masterfrom
user/findepi/jmxplugins
Closed

Require plugins to bind mbeans in namespace#28864
findepi wants to merge 1 commit into
masterfrom
user/findepi/jmxplugins

Conversation

@findepi

@findepi findepi commented Mar 25, 2026

Copy link
Copy Markdown
Member

MBeanModule is used by almost every connector. By default, it exports mbeans into global namespace, which is confusing. Disallow direct use of that module. Instead, require to use a wrapper that verifies an ObjectNameGenerator is properly bound.

@cla-bot cla-bot Bot added the cla-signed label Mar 25, 2026
@github-actions github-actions Bot added hudi Hudi connector iceberg Iceberg connector delta-lake Delta Lake connector hive Hive connector bigquery BigQuery connector cassandra Cassandra connector elasticsearch Elasticsearch connector opensearch OpenSearch connector pinot Pinot connector lakehouse labels Mar 25, 2026
`MBeanModule` is used by almost every connector. By default, it exports
mbeans into global namespace, which is confusing. Disallow direct use of
that module. Instead, require to use a wrapper that verifies an
`ObjectNameGenerator` is properly bound.
@findepi findepi force-pushed the user/findepi/jmxplugins branch from 4b0ccc7 to 857253f Compare March 25, 2026 21:30
@github-actions github-actions Bot added the redshift Redshift connector label Mar 25, 2026
@findepi findepi marked this pull request as draft March 25, 2026 21:32
@findepi

findepi commented Mar 25, 2026

Copy link
Copy Markdown
Member Author

it's a mess. We don;'t have a config name generator that could export from base-jdbc and from eg trino-postgresql . Those names are hard to update in tests, hard to export consistently.
Maybe to be continued.

@findepi findepi closed this Mar 25, 2026
@findepi findepi deleted the user/findepi/jmxplugins branch April 9, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bigquery BigQuery connector cassandra Cassandra connector cla-signed delta-lake Delta Lake connector elasticsearch Elasticsearch connector hive Hive connector hudi Hudi connector iceberg Iceberg connector lakehouse opensearch OpenSearch connector pinot Pinot connector redshift Redshift connector

Development

Successfully merging this pull request may close these issues.

2 participants