lhotari commented on PR #24704:
URL: https://github.com/apache/pulsar/pull/24704#issuecomment-3270421116

   One potential future improvement could be to add support for transaction 
batching. In transaction batching multiple incoming messages would be processed 
within the same transaction due to performance reasons so the the number of 
transactions can be reduced. There would need to be a need to have 
`transactionBatchingMaxEntries` ("entry" would refer to a incoming batch 
message which could contain multiple messages) and 
`transactionBatchingQuietPeriodMs` configuration parameters to control this 
type of batching. In most cases, it would be useful to configure 
`transactionBatchingMaxEntries` to at least `1` so that batch index 
acknowledgement state wouldn't have to be held across transactions. The 
`transactionBatchingQuietPeriodMs` would control how long to wait until 
"closing" the transaction batch in cause the incoming messages don't flow in 
continuously and `transactionBatchingMaxEntries` isn't hit.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to