[
https://issues.apache.org/jira/browse/KAFKA-2892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15027700#comment-15027700
]
Grant Henke edited comment on KAFKA-2892 at 11/25/15 10:17 PM:
---------------------------------------------------------------
Hi [~eljefe6aa]. We actually changed the docs patching process to follow the
same process as contributing code. The docs files live in the /docs directory.
A sample Github pull request can be seen here:
https://github.com/apache/kafka/pull/498
The process for contributing can be found here:
https://cwiki.apache.org/confluence/display/KAFKA/Contributing+Code+Changes
and the docs process is here:
https://cwiki.apache.org/confluence/display/KAFKA/Contributing+Website+Documentation+Changes
Could you send a Github pull request?
was (Author: granthenke):
Hi [~eljefe6aa]. We actually changed the docs patching process to follow the
same process as contributing code. The docs files live in the /docs directory.
A sample Github pull request can be seen here:
https://github.com/apache/kafka/pull/498
The process for contributing can be found here:
https://cwiki.apache.org/confluence/display/KAFKA/Contributing+Code+Changes
Could you send a Github pull request?
> Consumer Docs Use Wrong Method
> ------------------------------
>
> Key: KAFKA-2892
> URL: https://issues.apache.org/jira/browse/KAFKA-2892
> Project: Kafka
> Issue Type: Bug
> Components: clients
> Affects Versions: 0.9.0.0
> Reporter: Jesse Anderson
> Fix For: 0.9.0.0
>
> Attachments: docspatch.diff
>
>
> The KafkaConsumer docs use a non-existent method for assigning partitions
> ({{consumer.assign}}).
> The JavaDocs show as:
> String topic = "foo";
> TopicPartition partition0 = new TopicPartition(topic, 0);
> TopicPartition partition1 = new TopicPartition(topic, 1);
> consumer.assign(partition0);
> consumer.assign(partition1);
> Should be:
> String topic = "foo";
> TopicPartition partition0 = new TopicPartition(topic, 0);
> TopicPartition partition1 = new TopicPartition(topic, 1);
> consumer.assign(Arrays.asList(partition0));
> consumer.assign(Arrays.asList(partition1));
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)