You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/01/02 13:51:27 UTC

[GitHub] Licht-T commented on issue #1017: Hashcode of message key is inconsistent between different language clients

Licht-T commented on issue #1017: Hashcode of message key is inconsistent between different language clients
URL: https://github.com/apache/incubator-pulsar/issues/1017#issuecomment-354770424
 
 
   `String.hashCode()` uses the simple hash. On the other side, `boost::hash` uses MurmurHash3. IMO, we have to use widely-used and good hash like MurmurHash in each language client.
   https://docs.oracle.com/javase/7/docs/api/java/lang/String.html

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services