I don't _think_ that will work...

`Comparable` requires a total ordering and also specifies that `a.compareTo(b) 
== 0` iff `a.equals(b)`, which in turn requires that `a.hashCode() == 
b.hashCode()`.

But this would prevent us from inserting two different keys with the same time 
into our buffer map. It doesn't seem like `Stamped` is suitable for map keys or 
set entries for this reason.

[ Full content available at: https://github.com/apache/kafka/pull/5693 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to