Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify batch send semantic? #30

Open
duhenglucky opened this issue Jan 10, 2019 · 0 comments
Open

Clarify batch send semantic? #30

duhenglucky opened this issue Jan 10, 2019 · 0 comments

Comments

@duhenglucky
Copy link
Member

As interface shows below:

    /**
     * <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.

@vongosling vongosling changed the title [Discuss]Producer interface polish Clarify batch send semantic? Jan 18, 2019
@duhenglucky duhenglucky added this to the 1.0.0-alpha milestone Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants