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

Revise null check of ServiceConfigureUtils #47

Merged
merged 1 commit into from
Sep 29, 2016

Conversation

yush1ga
Copy link
Contributor

@yush1ga yush1ga commented Sep 29, 2016

Motivation

getDefaultOrConfiguredAddress method in ServiceConfigurationUtils class returns blank string when configuredAddress is blank.

Modifications

The method had only null check.
I changed it to blank check.

Result

The method returns localhost address when configuredAddress is blank.

@yahoocla
Copy link

CLA is valid!

@merlimat merlimat added this to the 1.15 milestone Sep 29, 2016
Copy link
Contributor

@merlimat merlimat left a comment

Choose a reason for hiding this comment

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

👍

@merlimat merlimat merged commit 16f1561 into apache:master Sep 29, 2016
@yush1ga yush1ga deleted the revise_nullcheck branch April 18, 2017 04:13
sijie pushed a commit to sijie/pulsar that referenced this pull request Mar 4, 2018
massakam pushed a commit to massakam/pulsar that referenced this pull request Aug 6, 2020
added note for pulsar-client-dev rather than pulsar-client
hangc0276 pushed a commit to hangc0276/pulsar that referenced this pull request May 26, 2021
This PR is adding Security within KoP. All auth is forwarded to Pulsar's auth mechanisms. This PR is also adding the support of SASL_PLAIN to inject the auth:

user correspond to the namespace
password corresponds to the authorization provider and the authorization payload
hangc0276 pushed a commit to hangc0276/pulsar that referenced this pull request May 26, 2021
…opicx (apache#50)

In PR apache#47,  there is a change to return kafka client with pulsar format topic, This is a change mainly to revert the return of topic name from `persistent://tent/ns/topicx` back to `topicx`.
Also added a unit-test for this.

Some minor changes, besides this main change:
- fix log level when parse listeners port.
- change default log4j2 log level from debug to info.
- fix assert from ledgeId > 0 to ledgerId >= 0.
- add a test for message order.

========

* fix log level for listeners port get

* change default log level in log4j2

* fix assert from ledgeId > 0 to ledgerId >= 0

* add a test to check message order

* revert the return of topic name from persistent://tent/ns/topicx to topicx

* add test for metadata request handling

* fix checkstyle

* mv utils from request handler to file TopicNameUtils
dlg99 pushed a commit to dlg99/pulsar that referenced this pull request Mar 29, 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.

3 participants