publish_unordered should take an iterator of messages. It's impossible/very difficult to efficiently send a large number of unordered messages at once from outside of the crate, because the future produced by publish() holds the borrow on the Client.
publish_unordered should take an iterator of messages. It's impossible/very difficult to efficiently send a large number of unordered messages at once from outside of the crate, because the future produced by publish() holds the borrow on the Client.