You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/02 22:32:04 UTC

[jira] [Commented] (KAFKA-5366) Add cases for concurrent transactional reads and writes in system tests

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

ASF GitHub Bot commented on KAFKA-5366:
---------------------------------------

GitHub user apurvam opened a pull request:

    https://github.com/apache/kafka/pull/3217

    KAFKA-5366: Add concurrent reads to transactions system test

    This currently fails in multiple ways. One of which is most likely KAFKA-5355, where the concurrent consumer reads duplicates.
    
    During broker bounces, the concurrent consumer misses messages completely. This is another bug.

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

    $ git pull https://github.com/apurvam/kafka KAFKA-5366-add-concurrent-reads-to-transactions-system-test

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

    https://github.com/apache/kafka/pull/3217.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 #3217
    
----
commit cd0990784aaa26fa6485e9f369a600b85c1647f9
Author: Apurva Mehta <ap...@confluent.io>
Date:   2017-06-02T22:25:00Z

    Add a concurrent consumer in the transactions system tests. This will exercise the abort index

commit 71fcad197b403ff7873d646feec287d92793cbe6
Author: Apurva Mehta <ap...@confluent.io>
Date:   2017-06-02T22:29:47Z

    Bounce brokers as well

----


> Add cases for concurrent transactional reads and writes in system tests
> -----------------------------------------------------------------------
>
>                 Key: KAFKA-5366
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5366
>             Project: Kafka
>          Issue Type: Test
>    Affects Versions: 0.11.0.0
>            Reporter: Apurva Mehta
>            Assignee: Apurva Mehta
>              Labels: exactly-once
>             Fix For: 0.11.1.0
>
>
> Currently the transactions system test does a transactional copy while bouncing brokers and clients, and then does a verifying read on the output topic to ensure that it exactly matches the input. 
> We should also have a transactional consumer reading the tail of the output topic as the writes are happening, and then assert that the values _it_ reads also exactly match the values in the source topics. 
> This test really exercises the abort index, and we don't have any of them in the system or integration tests right now. 



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