You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually I'm not sure it is a bug or not, but serejja suggested me to open an issue here.
My guess for this issue is, the producer should be defined like this val producer = new Producer[String, String](someConfig)
rather than val producer = new Producer[AnyRef, AnyRef](someConfig)
then the internal default partitioner should work.
The text was updated successfully, but these errors were encountered:
Fixeselodina#22
Array[Byte] does not have the identical hashcode even given identical contents. List[Byte] has the desired hashcode property at the cost of some performance.
This issue is hard to be described within a few words, but I posted it on Stackoverflow, please head to this link for full explanation: http://stackoverflow.com/questions/27373594/kafka-partition-key-not-working-properly .
Actually I'm not sure it is a bug or not, but serejja suggested me to open an issue here.
My guess for this issue is, the producer should be defined like this
val producer = new Producer[String, String](someConfig)
rather than
val producer = new Producer[AnyRef, AnyRef](someConfig)
then the internal default partitioner should work.
The text was updated successfully, but these errors were encountered: