You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Joe Stein (JIRA)" <ji...@apache.org> on 2014/07/22 16:40:40 UTC

[jira] [Updated] (KAFKA-1179) createMessageStreams() in javaapi.ZookeeperConsumerConnector does not throw

     [ https://issues.apache.org/jira/browse/KAFKA-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Stein updated KAFKA-1179:
-----------------------------

    Fix Version/s: 0.8.2

> createMessageStreams() in javaapi.ZookeeperConsumerConnector does not throw
> ---------------------------------------------------------------------------
>
>                 Key: KAFKA-1179
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1179
>             Project: Kafka
>          Issue Type: Bug
>          Components: consumer
>    Affects Versions: 0.8.0
>            Reporter: Vincent Rischmann
>            Assignee: Sriharsha Chintalapani
>              Labels: newbie, usability
>             Fix For: 0.8.2
>
>         Attachments: KAFKA-1179-v1.patch, KAFKA-1179.patch, KAFKA-1179_2014-05-14_14:19:11.patch, KAFKA-1179_2014-05-14_14:40:11.patch
>
>
> In kafka.consumer.javaapi.ZookeeperConsumerConnector.scala, the createMessageStreams() directly calls underlying.consume() (line 80)
> In kafka.consumer.ZookeeperConsumerConnector.scala, the createMessageStreams() throws an exception if it has been called more than once (line 133). 
> The javaapi should throw if it is called more than once, just like the scala api.



--
This message was sent by Atlassian JIRA
(v6.2#6252)