[ https://issues.apache.org/jira/browse/FLINK-16246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17197640#comment-17197640 ]
Robert Metzger commented on FLINK-16246: ---------------------------------------- I'm closing this ticket, because this issue will be subsumed by the work in FLINK-17554 and FLINK-19259. > Exclude "SdkMBeanRegistrySupport" from dynamically loaded AWS connectors > ------------------------------------------------------------------------ > > Key: FLINK-16246 > URL: https://issues.apache.org/jira/browse/FLINK-16246 > Project: Flink > Issue Type: Bug > Components: Connectors / Kinesis > Affects Versions: 1.10.0 > Reporter: Stephan Ewen > Assignee: Stephan Ewen > Priority: Major > Labels: pull-request-available > Fix For: 1.12.0, 1.10.3, 1.11.3 > > Time Spent: 10m > Remaining Estimate: 0h > > The AWS SDK always registers a {{MetricAdminMBean}} at the JMX MBean Server. > This allows users to turn on / off more detailed metrics via the JMX admin > interface. > However, this registered bean keeps the user code classloader alive and thus > causes a class leak. > Excluding the {{com.amazonaws.jmx.SdkMBeanRegistrySupport}} class from the > connectors disables the default registration thus preventing the class leak. > It should only disable that JMX metric admin interface and still allow users > to manually configure/activate metrics for the AWS SDK. -- This message was sent by Atlassian Jira (v8.3.4#803005)