[
https://issues.apache.org/jira/browse/CAMEL-20368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Otavio Rodolfo Piske updated CAMEL-20368:
-----------------------------------------
Description:
We added a batching consumer to camel-kafka as part of CAMEL-16064 and
CAMEL-19241.
This is a ticket to investigate adding batch support to other components.
Potential candidates are:
* camel-jms
* camel-sjms
* camel-sjms2
* camel-spring-rabbitmq
* camel-pulsar
* camel-amqp
* camel-ironmq
* camel-rocketmq
It may not be feasible to all of these, but we can investigate.
was:
It would be good to make camel-kafka and camel-vertx-kafka consumer able to
batch together N messages via aggregation strategy as a single outgoing
exchange. The batch should support group size, and timeout.
Something that was in the sjms-batch component.
The batching should use the same KafkaConsumer instance and defer the commit
till the batching has been done. This requires manual offset commit by the
consumer.
The use-case has been discussed on the chat at
https://camel.zulipchat.com/#narrow/stream/257298-camel/topic/kafka.20and.20batching
> Add batching consumers
> ----------------------
>
> Key: CAMEL-20368
> URL: https://issues.apache.org/jira/browse/CAMEL-20368
> Project: Camel
> Issue Type: New Feature
> Components: camel-kafka
> Reporter: Claus Ibsen
> Assignee: Otavio Rodolfo Piske
> Priority: Major
> Fix For: 4.4.0
>
>
> We added a batching consumer to camel-kafka as part of CAMEL-16064 and
> CAMEL-19241.
> This is a ticket to investigate adding batch support to other components.
> Potential candidates are:
> * camel-jms
> * camel-sjms
> * camel-sjms2
> * camel-spring-rabbitmq
> * camel-pulsar
> * camel-amqp
> * camel-ironmq
> * camel-rocketmq
> It may not be feasible to all of these, but we can investigate.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)