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 2022/07/12 14:38:05 UTC

[GitHub] [pulsar] eolivelli opened a new issue, #16547: Java client: batch messages - do not create a batch message of 1 single message

eolivelli opened a new issue, #16547:
URL: https://github.com/apache/pulsar/issues/16547

   I think that we could implement a small but effective enhancement to batching.
   
   It may happen that even if you enable batching you come to create entries with 1 only message.
   
   Processing batch messages requires a good amount of resources, both on the broker and on the client side.
   
   Especially when you are using PIP-105, Broker side filtering, you have to unpack (and decompress) the whole entry in order to process the very single message.
   
   So my proposal is to change the (Java) producer, to make it produce a regular message instead of a batch message if the batch contains only 1 message.
   
   Testing should cover:
   - regular batch sending using the Java producer
   - KEY based batcher builder
   
   


-- 
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: commits-unsubscribe@pulsar.apache.org.apache.org

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


[GitHub] [pulsar] AnonHxy closed issue #16547: Java client: batch messages - do not create a batch message of 1 single message

Posted by GitBox <gi...@apache.org>.
AnonHxy closed issue #16547: Java client: batch messages - do not create a batch message of 1 single message
URL: https://github.com/apache/pulsar/issues/16547


-- 
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: commits-unsubscribe@pulsar.apache.org

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


[GitHub] [pulsar] github-actions[bot] commented on issue #16547: Java client: batch messages - do not create a batch message of 1 single message

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #16547:
URL: https://github.com/apache/pulsar/issues/16547#issuecomment-1226691593

   The issue had no activity for 30 days, mark with Stale label.


-- 
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: commits-unsubscribe@pulsar.apache.org

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


[GitHub] [pulsar] AnonHxy commented on issue #16547: Java client: batch messages - do not create a batch message of 1 single message

Posted by GitBox <gi...@apache.org>.
AnonHxy commented on issue #16547:
URL: https://github.com/apache/pulsar/issues/16547#issuecomment-1181848386

   I am working on that, thanks


-- 
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: commits-unsubscribe@pulsar.apache.org

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