/**
* <p>
* Send batch messages to server.
*
* @param messages messages to be sent.
*/
void send(List<Message> messages);
This API can lead to multiple behaviors, such as sending to multiple partitions, or the same partition, so how should we define the behavior of this method?
And this issue exists in many places, such as sequential messages, transactional message etc.
So I think we should polish this interface before we release the 1.0.0 version.
As interface shows below:
This API can lead to multiple behaviors, such as sending to multiple partitions, or the same partition, so how should we define the behavior of this method?
And this issue exists in many places, such as sequential messages, transactional message etc. So I think we should polish this interface before we release the 1.0.0 version.