ijuma commented on PR #13280: URL: https://github.com/apache/kafka/pull/13280#issuecomment-1500671475
My suggestion is to introduce a new interface like `ImmutableMap` (`PMap` or `PersistentMap` are also possible, but they can be confused with a map that persists the data) and introduce new methods to that interface. Our code should only interact with `ImmutableMap`, `java.util.Map`, etc. For code that doesn't need the new methods exposed via `ImmutableMap`, we can choose to use `java.util.Map` if we like. -- 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