-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[fix][broker] Extract additional servlets to the default directory by… #17477
Conversation
@@ -23,6 +23,7 @@ | |||
import java.util.Map; | |||
import lombok.Getter; | |||
import lombok.extern.slf4j.Slf4j; | |||
import org.apache.commons.lang.StringUtils; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use org.apache.commons.lang3.StringUtils
instead of org.apache.commons.lang.StringUtils
/pulsarbot rerun-failure-checks |
/pulsarbot run-failure-checks |
1 similar comment
/pulsarbot run-failure-checks |
@codelipenghui , do I need to rebase this PR and test it in my own fork, or can it be merged without all that? |
apache#17477) (cherry picked from commit 3d47ee8) (cherry picked from commit ffe0a22)
apache#17477) (cherry picked from commit 3d47ee8) (cherry picked from commit ffe0a22)
… default
Fixes #17472
Motivation
AdditionalServlets.load
does not use the default value ofnarExtractionDirectory
when the property is set to an empty string (which is the default inconf/broker.conf
).Modifications
Similar to
FieldParser.update
, empty string and null are made equivalent to AdditionalServlets.Verifying this change
This change can be verified as follows:
Does this pull request potentially affect one of the following parts:
If
yes
was chosen, please highlight the changesDocumentation
Check the box below or label this PR directly.
Need to update docs?
doc-not-needed
This is a bugfix