[ https://issues.apache.org/jira/browse/KAFKA-2981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15053418#comment-15053418 ]
ASF GitHub Bot commented on KAFKA-2981: --------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/668 > 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 > Fix For: 0.9.0.1 > > > 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)