Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Retry metrics reporter producer creation #1772

Merged

Conversation

amberimam
Copy link

@amberimam amberimam commented Jan 11, 2022

This PR attempts to resolve: #1760

Add the ability for the metrics reporter to retry creating the producer while starting up. The number of retries is a configurable value, called "cruise.control.metrics.reporter.create.retries". The default number of retries is 2.

@amberimam amberimam closed this Jan 11, 2022
@amberimam amberimam reopened this Jan 14, 2022
@amberimam
Copy link
Author

Hi @efeg, can you please review this PR when you get a chance? Thanks in advance!

@efeg efeg self-requested a review January 27, 2022 23:50
Copy link
Collaborator

@efeg efeg left a comment

Choose a reason for hiding this comment

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

@amberimam Thanks for the PR -- left some comments.

@amberimam
Copy link
Author

Thank you so much for your comments @efeg, I believe I have addressed them all.

Copy link
Collaborator

@efeg efeg left a comment

Choose a reason for hiding this comment

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

@amberimam Thanks for the PR - LGTM.

@efeg efeg merged commit 2c11b9a into linkedin:migrate_to_kafka_2_4 Feb 1, 2022
efeg pushed a commit to efeg/cruise-control that referenced this pull request Feb 1, 2022
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.

Metrics reporter should retry connection to the bootstrap server instead of terminating
2 participants