chia7712 commented on PR #20134:
URL: https://github.com/apache/kafka/pull/20134#issuecomment-3057145239

   > Yes, this is also a good alternative for me, but even if we use Map 
instead of Properties, as far as I know, we still can’t prevent the user app 
from passing in a Properties (unless we enforce a check), and we still need 
some conversion, similar to what this PR does, if the user passes Properties. 
Is that correct?
   
   The usage of `Properties` should be deprecated in the public APIs. 
Documentation should be added to suggest users use `Map` instead. Perhaps we 
could add warning messages to remind users that the conversion from 
`Properties` to `Map` would have some tricks to handle 


-- 
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