Re: PIP 38: Batch Receiving Messages

2019-07-15 Thread PengHui Li
Hi jerry, There are two important benefits: 1. It is a simple interface for users, without requiring user to make a message collector by himself. There are many scenarios where users will use batch processing. For example bulk insert database rows, if user goes to implement a bulk message

Re: PIP 38: Batch Receiving Messages

2019-07-15 Thread Jerry Peng
Hi Penghui, So what is the major benefit of using the proposed batch receive API versus just buffering messages in my application code? In terms of performance, consumers already receive messages as batches from the broker. Though the current API only allows the user to retrieve a message one at