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

[improve][broker] Log warning on missing URL configuration for cluster creation/update #20541

Merged
merged 5 commits into from
Jun 21, 2023
Merged

[improve][broker] Log warning on missing URL configuration for cluster creation/update #20541

merged 5 commits into from
Jun 21, 2023

Conversation

JooHyukKim
Copy link
Contributor

Master Issue: #19866

Motivation

As proposed in #19866 (comment), warning message can be provided on existence of URL verification fails.

Modifications

  • For Cluster create/update API, log warning when service url or broker url is missing.

Verifying this change

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository:

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Jun 8, 2023
Copy link
Member

@nodece nodece left a comment

Choose a reason for hiding this comment

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

LGTM, I think you can also move warnIfUrlIsNotPresent into checkPropertiesIfPresent.

@JooHyukKim JooHyukKim requested a review from nodece June 19, 2023 15:27
@JooHyukKim
Copy link
Contributor Author

/pulsarbot run-failure-checks

@tisonkun
Copy link
Member

Thanks for your contribution! I'm checking this patch now.

Please revert the format only changes (whitespace) so that we narrow the conflict possibility.

@JooHyukKim
Copy link
Contributor Author

@tisonkun sure, will get on it now 👍🏻

@JooHyukKim
Copy link
Contributor Author

@tisonkun should've just commited and told you 😅 . Done!

Copy link
Member

@tisonkun tisonkun left a comment

Choose a reason for hiding this comment

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

I agree this is a good start point. +1 for merging.

…-message-when-URL-verification-fails-for-cluster-creation
@JooHyukKim
Copy link
Contributor Author

/pulsarbot run-failure-checks

@tisonkun
Copy link
Member

Merging...

Thank you!

@tisonkun tisonkun merged commit ffc84c9 into apache:master Jun 21, 2023
@JooHyukKim JooHyukKim deleted the 19866-log-warning-message-when-URL-verification-fails-for-cluster-creation branch June 29, 2023 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/broker doc-not-needed Your PR changes do not impact docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants