[ https://issues.apache.org/jira/browse/KAFKA-2981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15052585#comment-15052585 ]
ASF GitHub Bot commented on KAFKA-2981: --------------------------------------- GitHub user vesense opened a pull request: https://github.com/apache/kafka/pull/668 KAFKA-2981: Fix javadoc in KafkaConsumer https://issues.apache.org/jira/browse/KAFKA-2981 You can merge this pull request into a Git repository by running: $ git pull https://github.com/vesense/kafka patch-2 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/668.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 #668 ---- commit ab23830a67d3e02c4ba0cada87dc2e98e09ceb44 Author: Xin Wang <best.wang...@163.com> Date: 2015-12-11T10:11:09Z fix javadoc in KafkaConsumer ---- > Fix javadoc in KafkaConsumer > ---------------------------- > > Key: KAFKA-2981 > URL: https://issues.apache.org/jira/browse/KAFKA-2981 > Project: Kafka > Issue Type: Bug > Components: clients > Affects Versions: 0.9.0.0 > Reporter: Xin Wang > Priority: Minor > > error javadoc: > {code}consumer.subscribe("topic");{code} > fix: > {code}consumer.subscribe(Arrays.asList("topic"));{code} > Since KafkaConsumer.subscribe() method uses List as the input type, using > string "topic" will get an error. -- This message was sent by Atlassian JIRA (v6.3.4#6332)