RE: [DISCUSS] Return the message ID of the first chunk when sending chunked messages

2021-09-26 Thread Zike Yang
I submitted a PR to demonstrate the solution:https://github.com/apache/pulsar/pull/12171 . If you have any suggestions, please feel free to comment on it. Thanks, Zike Yang On 2021/09/22 03:55:44 Zike Yang wrote: > Hi Pulsar Community, > > > Curren

Re: [DISCUSS] Return the message ID of the first chunk when sending chunked messages

2021-09-22 Thread Zike Yang
Hi, Rajan. I think we can make changes only on the client side. Probably only the part of sendMessages of the producer. When the producer sends a chunked message, the message-id of the first chunk is stored temporarily in the producer until all chunks have been sent, and then it is returned

Re: [DISCUSS] Return the message ID of the first chunk when sending chunked messages

2021-09-22 Thread Rajan Dhabalia
Hi, Though chunked messages are sequential for a specific producer, it's not guaranteed that they will be contiguous when the broker receives them and writes them to a ledger. So, it will be a little tricky to find out the first message-id of any chunked-message at any given time unless broker tag