-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
KAFKA-6592: Follow-up #4864
KAFKA-6592: Follow-up #4864
Conversation
retest this please |
import scala.collection.JavaConversions._ | ||
for (entry <- props) { | ||
val key: String = entry._1 | ||
val value: String = entry._2 |
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.
for ((key, value) <- props if key.startsWith(prefix) && key.length > prefix.length)
newProps.put(key.substring(prefix.length), value)
Also, the method should be private and maybe it should be named propertiesWithKeyPrefixStripped
or something.
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.
Ack, will do it as a hotfix commit.
Do not require ConsoleConsumer to specify inner serde as s special property, but just a normal property of the message formatter.
Do not require ConsoleConsumer to specify inner serde as s special property, but just a normal property of the message formatter.
Do not require ConsoleConsumer to specify inner serde as s special property, but just a normal property of the message formatter.
Committer Checklist (excluded from commit message)