Details
Description
AbstractConfig.getList returns null if the property is unset and there's no default.
This creates a lot of cases where we need to do null checks (and remember them).
It's good practice to just return an empty list as usually code naturally handles empty lists.
To do this we set the default on lists to be Collections.emptyList() and add a Validator to disallow null values.
Attachments
Issue Links
- breaks
-
KAFKA-8910 Incorrect javadoc at KafkaProducer.InterceptorCallback#onCompletion
- Resolved
- links to