You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/10/19 17:40:21 UTC

[GitHub] [pulsar] addisonj commented on issue #8264: [Java Client] Async Send does not appear to deliver messages in order unless `batchingMaxMessages`=1

addisonj commented on issue #8264:
URL: https://github.com/apache/pulsar/issues/8264#issuecomment-712324372


   I worked with @frankjkelly  to find that this wasn't an issue in pulsar, but there is some strange behavior if the user re-uses buffers as an input to the client.
   
   See https://github.com/kellyfj/message-ordering/pull/1#issuecomment-710760790 for more context, but the tl;dr is that I think the reference to the buffer change out from underneath us in async production. We may need to copy the buffer or use some other technique to ensure that reference can't be modified before we send the buffer


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org