This message was deleted.
# general
s
This message was deleted.
j
Hello. The consumers can subscribe to an Exclusive or Failover subscription. If you need to increase throughput by scaling out consumers, then you can use a Key_Shared subscription. Messages produced with the same key will then be delivered to the same consumer in order.
✅ 1
a
But please reads the docs on key_shared very carefully!
👍 1
m
Thanks for the answers, there was a problem with NTP. Messages are consuming correct order now.
👍 1
Is sendAsync affect message ordering?
a
From my understanding,
sendAsync
places the message in the send queue. Once we several conditions apply it is sent, in the background, notified via the Future.
send
also places the message in the send queue, but immediately triggers a Flush, which triggers sending all messages in the queue regardless of conditions, and then blocks until future of send is complete.
✅ 1
Seems like message ordering is maintained and determined by the order of calling to
sendAsync
or
send
👍 2