You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/02/21 13:57:44 UTC

[jira] [Commented] (CAMEL-10871) camel-kafka - allow to retrieve whether it's the last record before commit

    [ https://issues.apache.org/jira/browse/CAMEL-10871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15876011#comment-15876011 ] 

ASF GitHub Bot commented on CAMEL-10871:
----------------------------------------

GitHub user adessaigne opened a pull request:

    https://github.com/apache/camel/pull/1480

    CAMEL-10871 - When consuming from Kafka indicates whether or not the record is the last one in the batch

    (see JIRA ticket for more information)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/adessaigne/camel CAMEL-10871

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/1480.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1480
    
----
commit bc2b41ccca9f0257006ff87135467be108f48a2d
Author: Antoine DESSAIGNE <an...@gmail.com>
Date:   2017-02-21T13:55:45Z

    CAMEL-10871 - When consuming from Kafka indicates whether or not the record is the last one in the batch

----


> camel-kafka - allow to retrieve whether it's the last record before commit
> --------------------------------------------------------------------------
>
>                 Key: CAMEL-10871
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10871
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-kafka
>            Reporter: Antoine DESSAIGNE
>
> When you consume messages from Kafka, you receive the records by batches and then you bulk-acknowledge the records.
> In some situation it can be useful to retrieve whether or not the messages your receiving is the last one in the batch. It's especially useful in order to aggregate messages in order to insert them in batch in ElasticSearch.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)