Regarding the comment, LinkedHashSet doesn't relocate a key in the linked list when you update its value. It doesn't *strictly* matter for correctness (since there is no ordering between keys). It seemed nice to preserve the relative order of buffer events, so that reprocessing would produce the same sequence of emissions.
[ Full content available at: https://github.com/apache/kafka/pull/5724 ] This message was relayed via gitbox.apache.org for [email protected]
