[jira] [Commented] (KAFKA-4461) When using ProcessorTopologyTestDriver, the combination of map and .groupByKey does not produce any result
[ https://issues.apache.org/jira/browse/KAFKA-4461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15880293#comment-15880293 ] ASF GitHub Bot commented on KAFKA-4461: --- GitHub user hrafzali opened a pull request: https://github.com/apache/kafka/pull/2587 KAFKA-4461: Added support to ProcessorTopologyTestDriver to forward timestamps to internal topics This resolves the issue in the ProcessorTopologyTestDriver that the extracted timestamp is not forwarded with the produced record to the internal topics. JIRA ticket: https://issues.apache.org/jira/browse/KAFKA-4789 The contribution is my original work and I license the work to the project under the project's open source license. @guozhangwang @dguy You can merge this pull request into a Git repository by running: $ git pull https://github.com/hrafzali/kafka KAFKA-4789_ProcessorTopologyTestDriver_timestamp Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/2587.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 #2587 commit ad6db45916f28971470c0522584c2dca02ffae76 Author: Hamidreza Afzali Date: 2017-02-23T10:53:18Z KAFKA-4461: Added support to ProcessorTopologyTestDriver to forward extracted timestamps to internal topics. > When using ProcessorTopologyTestDriver, the combination of map and > .groupByKey does not produce any result > -- > > Key: KAFKA-4461 > URL: https://issues.apache.org/jira/browse/KAFKA-4461 > Project: Kafka > Issue Type: Bug > Components: streams >Affects Versions: 0.10.1.0 >Reporter: Hamidreza Afzali >Assignee: Adrian McCague > Labels: newbie, unit-test > Fix For: 0.10.3.0 > > > *Problem* > When using ProcessorTopologyTestDriver in the latest Kafka 0.10.1, the > combination of map and .groupByKey does not produce any result. However, it > works fine when using KStreamTestDriver. > The topology looks like this: > {code} > builder.stream(Serdes.String, Serdes.Integer, inputTopic) > .map((k, v) => new KeyValue(fn(k), v)) > .groupByKey(Serdes.String, Serdes.Integer) > .count(stateStore) > {code} > *Full examples* > Examples for ProcessorTopologyTestDriver and KStreamTestDriver: > https://gist.github.com/hrafzali/c2f50e7b957030dab13693eec1e49c13 > *Additional info* > kafka-users mailing list: > http://mail-archives.apache.org/mod_mbox/kafka-users/201611.mbox/%3CCAHwHRrVq1APVkNhP3HVqxujxRJEP9FwHV2NRcvPPsHX7Wujzng%40mail.gmail.com%3E -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (KAFKA-4461) When using ProcessorTopologyTestDriver, the combination of map and .groupByKey does not produce any result
[ https://issues.apache.org/jira/browse/KAFKA-4461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15855792#comment-15855792 ] Adrian McCague commented on KAFKA-4461: --- [~guozhang] Thanks! > When using ProcessorTopologyTestDriver, the combination of map and > .groupByKey does not produce any result > -- > > Key: KAFKA-4461 > URL: https://issues.apache.org/jira/browse/KAFKA-4461 > Project: Kafka > Issue Type: Bug > Components: streams >Affects Versions: 0.10.1.0 >Reporter: Hamidreza Afzali >Assignee: Adrian McCague > Labels: newbie, unit-test > Fix For: 0.10.3.0 > > > *Problem* > When using ProcessorTopologyTestDriver in the latest Kafka 0.10.1, the > combination of map and .groupByKey does not produce any result. However, it > works fine when using KStreamTestDriver. > The topology looks like this: > {code} > builder.stream(Serdes.String, Serdes.Integer, inputTopic) > .map((k, v) => new KeyValue(fn(k), v)) > .groupByKey(Serdes.String, Serdes.Integer) > .count(stateStore) > {code} > *Full examples* > Examples for ProcessorTopologyTestDriver and KStreamTestDriver: > https://gist.github.com/hrafzali/c2f50e7b957030dab13693eec1e49c13 > *Additional info* > kafka-users mailing list: > http://mail-archives.apache.org/mod_mbox/kafka-users/201611.mbox/%3CCAHwHRrVq1APVkNhP3HVqxujxRJEP9FwHV2NRcvPPsHX7Wujzng%40mail.gmail.com%3E -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (KAFKA-4461) When using ProcessorTopologyTestDriver, the combination of map and .groupByKey does not produce any result
[ https://issues.apache.org/jira/browse/KAFKA-4461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15854609#comment-15854609 ] Guozhang Wang commented on KAFKA-4461: -- [~amccague] Thanks for the patch! I have added you to the contributor list of Kafka, so that you can assign JIRAs to yourself in the future. > When using ProcessorTopologyTestDriver, the combination of map and > .groupByKey does not produce any result > -- > > Key: KAFKA-4461 > URL: https://issues.apache.org/jira/browse/KAFKA-4461 > Project: Kafka > Issue Type: Bug > Components: streams >Affects Versions: 0.10.1.0 >Reporter: Hamidreza Afzali >Assignee: Adrian McCague > Labels: newbie, unit-test > Fix For: 0.10.3.0 > > > *Problem* > When using ProcessorTopologyTestDriver in the latest Kafka 0.10.1, the > combination of map and .groupByKey does not produce any result. However, it > works fine when using KStreamTestDriver. > The topology looks like this: > {code} > builder.stream(Serdes.String, Serdes.Integer, inputTopic) > .map((k, v) => new KeyValue(fn(k), v)) > .groupByKey(Serdes.String, Serdes.Integer) > .count(stateStore) > {code} > *Full examples* > Examples for ProcessorTopologyTestDriver and KStreamTestDriver: > https://gist.github.com/hrafzali/c2f50e7b957030dab13693eec1e49c13 > *Additional info* > kafka-users mailing list: > http://mail-archives.apache.org/mod_mbox/kafka-users/201611.mbox/%3CCAHwHRrVq1APVkNhP3HVqxujxRJEP9FwHV2NRcvPPsHX7Wujzng%40mail.gmail.com%3E -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (KAFKA-4461) When using ProcessorTopologyTestDriver, the combination of map and .groupByKey does not produce any result
[ https://issues.apache.org/jira/browse/KAFKA-4461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15854608#comment-15854608 ] ASF GitHub Bot commented on KAFKA-4461: --- Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/2499 > When using ProcessorTopologyTestDriver, the combination of map and > .groupByKey does not produce any result > -- > > Key: KAFKA-4461 > URL: https://issues.apache.org/jira/browse/KAFKA-4461 > Project: Kafka > Issue Type: Bug > Components: streams >Affects Versions: 0.10.1.0 >Reporter: Hamidreza Afzali >Assignee: Adrian McCague > Labels: newbie, unit-test > Fix For: 0.10.3.0 > > > *Problem* > When using ProcessorTopologyTestDriver in the latest Kafka 0.10.1, the > combination of map and .groupByKey does not produce any result. However, it > works fine when using KStreamTestDriver. > The topology looks like this: > {code} > builder.stream(Serdes.String, Serdes.Integer, inputTopic) > .map((k, v) => new KeyValue(fn(k), v)) > .groupByKey(Serdes.String, Serdes.Integer) > .count(stateStore) > {code} > *Full examples* > Examples for ProcessorTopologyTestDriver and KStreamTestDriver: > https://gist.github.com/hrafzali/c2f50e7b957030dab13693eec1e49c13 > *Additional info* > kafka-users mailing list: > http://mail-archives.apache.org/mod_mbox/kafka-users/201611.mbox/%3CCAHwHRrVq1APVkNhP3HVqxujxRJEP9FwHV2NRcvPPsHX7Wujzng%40mail.gmail.com%3E -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (KAFKA-4461) When using ProcessorTopologyTestDriver, the combination of map and .groupByKey does not produce any result
[ https://issues.apache.org/jira/browse/KAFKA-4461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15852496#comment-15852496 ] ASF GitHub Bot commented on KAFKA-4461: --- GitHub user amccague opened a pull request: https://github.com/apache/kafka/pull/2499 KAFKA-4461 Added support to ProcessorTopologyTestDriver for internal topics. This resolves an issue in driving tests using the ProcessorTopologyTestDriver when `groupBy()` is invoked downstream of a processor that flags repartitioning. Ticket: https://issues.apache.org/jira/browse/KAFKA-4461 Discussion: http://search-hadoop.com/m/Kafka/uyzND1wbKeY1Q8nH1 @dguy @guozhangwang The contribution is my original work and I license the work to the project under the project's open source license. You can merge this pull request into a Git repository by running: $ git pull https://github.com/amccague/kafka KAFKA-4461_ProcessorTopologyTestDriver_map_groupbykey Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/2499.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 #2499 commit 938b8bb8b8981ea25bacc7389565e15604c4dcba Author: Adrian McCague Date: 2017-02-04T02:09:35Z KAFKA-4461 Added support to ProcessorTopologyTestDriver for internal topics. Ticket: https://issues.apache.org/jira/browse/KAFKA-4461 Discussion: http://search-hadoop.com/m/Kafka/uyzND1wbKeY1Q8nH1 > When using ProcessorTopologyTestDriver, the combination of map and > .groupByKey does not produce any result > -- > > Key: KAFKA-4461 > URL: https://issues.apache.org/jira/browse/KAFKA-4461 > Project: Kafka > Issue Type: Bug > Components: streams >Affects Versions: 0.10.1.0 >Reporter: Hamidreza Afzali > Labels: newbie, unit-test > > *Problem* > When using ProcessorTopologyTestDriver in the latest Kafka 0.10.1, the > combination of map and .groupByKey does not produce any result. However, it > works fine when using KStreamTestDriver. > The topology looks like this: > {code} > builder.stream(Serdes.String, Serdes.Integer, inputTopic) > .map((k, v) => new KeyValue(fn(k), v)) > .groupByKey(Serdes.String, Serdes.Integer) > .count(stateStore) > {code} > *Full examples* > Examples for ProcessorTopologyTestDriver and KStreamTestDriver: > https://gist.github.com/hrafzali/c2f50e7b957030dab13693eec1e49c13 > *Additional info* > kafka-users mailing list: > http://mail-archives.apache.org/mod_mbox/kafka-users/201611.mbox/%3CCAHwHRrVq1APVkNhP3HVqxujxRJEP9FwHV2NRcvPPsHX7Wujzng%40mail.gmail.com%3E -- This message was sent by Atlassian JIRA (v6.3.15#6346)