-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Rename defaultNamespace to prefix and make it optional #2350
Conversation
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.
The API interface configuration is still marking the prefix field as required. That's not what we want, right? After that is fixed, it looks good. It looks like you're changing stuff on the FE too. Probably means @jamakase doesn't need to do anything (other than review this PR)
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.
% charles comments
// TODO chris: use defaultNamespace as a namespace/schema/dataset in destination | ||
return defaultNamespace + streamName; | ||
private static String transformStreamName(final String streamName, final String prefix) { | ||
if (prefix != null && !prefix.isEmpty()) { |
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.
Strings.isEmpty or smthing like that does the same
Co-authored-by: Charles <[email protected]>
What
Describe what the change is solving
Closes #2335
How
Describe the solution
Rename defaultNamespace to prefix