Skip to content

MINOR: Shutdown jmx reporter using internal utility method#12283

Merged
mimaison merged 1 commit intoapache:trunkfrom
divijvaidya:correct-shutdown-yammer
Jun 13, 2022
Merged

MINOR: Shutdown jmx reporter using internal utility method#12283
mimaison merged 1 commit intoapache:trunkfrom
divijvaidya:correct-shutdown-yammer

Conversation

@divijvaidya
Copy link
Member

Use the internal Exit.addShutdownHook to close jmx reporter since this internal version has some nicer logging.

@divijvaidya divijvaidya changed the title MINOR: Shutdown jmx reporter using a non-daemon kafka thread MINOR: Shutdown jmx reporter using internal utility method Jun 10, 2022
Copy link
Member

@soarez soarez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@divijvaidya
Copy link
Member Author

@mimaison perhaps you could review this quick code change?

Copy link
Member

@mimaison mimaison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@mimaison mimaison merged commit 4426b05 into apache:trunk Jun 13, 2022
ableegoldman added a commit to confluentinc/kafka that referenced this pull request Jun 14, 2022
CONFLUENT: Sync from apache/kafka trunk to confluentinc/kafka master (13 Jun 2022)

apache/trunk: (7 commits)
KAFKA-13891: reset generation when syncgroup failed with REBALANCE_IN…(apache#12140)
KAFKA-10000: Exactly-once source tasks (apache#11780)
KAFKA-13436: Omitted BrokerTopicMetrics metrics in the documentation (apache#11473)
MINOR: Use Exit.addShutdownHook instead of directly adding hooks to R…(apache#12283)
KAFKA-13846: Adding overloaded metricOrElseCreate method (apache#12121)
KAFKA-13935 Fix static usages of IBP in KRaft mode (apache#12250)
HOTFIX: null check keys of ProducerRecord when computing sizeInBytes (apache#12288)


Conflicts:
None
@divijvaidya divijvaidya deleted the correct-shutdown-yammer branch March 30, 2023 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants