m1a2st opened a new pull request, #20334:
URL: https://github.com/apache/kafka/pull/20334

   We add the three main changes in this PR
   
   - Disallowing null values for most LIST-type configurations makes sense, 
since users cannot explicitly set a configuration to null in a properties file. 
Therefore, only configurations with a default value of null should be allowed 
to accept null.
   - Disallowing duplicate values is reasonable, as there are currently no 
known configurations in Kafka that require specifying the same value multiple 
times. Allowing duplicates is both rare in practice and potentially confusing 
to users.
   - Disallowing empty list, even though many configurations currently accept 
them. In practice, setting an empty list for several of these configurations 
can lead to server startup failures or unexpected behavior. Therefore, 
enforcing non-empty lists helps prevent misconfiguration and improves system 
robustness.
   These changes may introduce some backward incompatibility, but this 
trade-off is justified by the significant improvements in safety, consistency, 
and overall user experience. 
   
   Additionally, we introduce two minor adjustments:
   
   - Reclassify some STRING-type configurations as LIST-type, particularly 
those using comma-separated values to represent multiple entries. This change 
reflects the actual semantics used in Kafka.
   - Update the default values for some configurations to better align with 
other configs.
   These changes will not introduce any compatibility issues.


-- 
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-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to