You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "b-goyal (via GitHub)" <gi...@apache.org> on 2024/03/14 12:03:29 UTC
Re: [PR] validate configuration while parsing ConfigDef [kafka]
b-goyal commented on PR #66:
URL: https://github.com/apache/kafka/pull/66#issuecomment-1997289518
In java client, configDef class's parse() function should return parsed and validated values (if validator is present) but it does not validate the configuration. e.g. i can create a KafkaProducer instance with a negative value for batch.size and then it throws NullPointerException while sending which is hard to debug.
This commit fix that
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org