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
@joshuawscott Is the fact that KafkaEx uses the default partitioner (matching the Java client) documented anywhere? I was looking around to see what KafkaEx would do if I only provided the key and this issue is the only reference to this I could find.
Is there any way to choose which partition to send a message based on a message key?
Other libraries seem to provide such feature out of the box:
https://github.com/SOHU-Co/kafka-node#sendpayloads-cb (node)
https://docs.spring.io/spring-kafka/api/org/springframework/kafka/core/KafkaTemplate.html#send-java.lang.String-java.lang.Integer-K-V- (java)
At this point, would we need to pick the topic metadata and implement the algorithm based on the key hash for instance?
The text was updated successfully, but these errors were encountered: