[
https://issues.apache.org/jira/browse/BOOKKEEPER-406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477788#comment-13477788
]
Ivan Kelly commented on BOOKKEEPER-406:
---------------------------------------
I don't think we should introduce any transactional guarantee for this feature
yet. It could be added after, but doing so now complicate things and I think
batching and transactions can be cleanly separated.
[~i0exception] How do you envisage the batching API for publishes?
For message delivery we would simply have to modify the PubSubResponse to have
repeated messages rather than a single.
> Provide support in hedwig to batch multiple messages
> ----------------------------------------------------
>
> Key: BOOKKEEPER-406
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-406
> Project: Bookkeeper
> Issue Type: Bug
> Components: hedwig-client, hedwig-server
> Affects Versions: 4.2.0
> Reporter: Aniruddha
>
> In the current implementation, each message is sent as a separate
> PubSubResponse. Also, a PubSubRequest sends only one message per request.
> This introduces a lot of overhead if the message body is small.
> Hedwig should provide a batched request API where messages can be consumed or
> published in batches.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira