Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KAFKA-5162: Add a reference to AdminClient to docs/api.html #2958

Closed
wants to merge 2 commits into from

Conversation

cmccabe
Copy link
Contributor

@cmccabe cmccabe commented May 2, 2017

No description provided.

docs/api.html Outdated
<version>0.10.2.0</version>
</dependency>
</pre>
For more information about the AdminClient APIs, see the <a href="/{{version}}/javadoc/index.html?org/apache/kafka/clients/AdminClient.html" title="Kafka 0.10.2 Javadoc">javadoc</a>.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use `{{version}}`` in the title as well? If possible, it seems like we should do that for all 5 APIs.

@asfbot
Copy link

asfbot commented May 2, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.10/3379/
Test PASSed (JDK 7 and Scala 2.10).

@asfbot
Copy link

asfbot commented May 2, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.11/3385/
Test FAILed (JDK 8 and Scala 2.11).

@asfbot
Copy link

asfbot commented May 2, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/3376/
Test FAILed (JDK 8 and Scala 2.12).

@asfbot
Copy link

asfbot commented May 2, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.11/3389/
Test PASSed (JDK 8 and Scala 2.11).

@asfbot
Copy link

asfbot commented May 2, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.10/3383/
Test PASSed (JDK 7 and Scala 2.10).

@asfbot
Copy link

asfbot commented May 2, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/3380/
Test FAILed (JDK 8 and Scala 2.12).

docs/api.html Outdated
@@ -48,14 +49,14 @@
The Consumer API allows applications to read streams of data from topics in the Kafka cluster.
<p>
Examples showing how to use the consumer are given in the
<a href="/{{version}}/javadoc/index.html?org/apache/kafka/clients/consumer/KafkaConsumer.html" title="Kafka 0.10.2 Javadoc">javadocs</a>.
<a href="/{{version}}/javadoc/index.html?org/apache/kafka/clients/consumer/KafkaConsumer.html" title="Kafka {{version}} Javadoc">javadocs</a>.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ewencp, @guozhangwang Can you please confirm if it's OK to use {{version}} in the title too? Just want to confirm if it was intentional to hardcode the version number in the title.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just generated docs from this locally and it seems fine (which makes sense -- it's just a template so it should work anywhere). However, note that this doesn't quite match the original -- it now says "Kafka 0102 Javadoc".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @ewencp . Is there a variable that preserves the periods? Where are these variables defined?

@cmccabe
Copy link
Contributor Author

cmccabe commented May 3, 2017

retest this please

@asfbot
Copy link

asfbot commented May 3, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.11/3433/
Test PASSed (JDK 8 and Scala 2.11).

@asfbot
Copy link

asfbot commented May 3, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.10/3431/
Test PASSed (JDK 7 and Scala 2.10).

@asfbot
Copy link

asfbot commented May 3, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.11/3437/
Test FAILed (JDK 8 and Scala 2.11).

@asfbot
Copy link

asfbot commented May 3, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/3428/
Test PASSed (JDK 8 and Scala 2.12).

@ewencp
Copy link
Contributor

ewencp commented May 4, 2017

@cmccabe Yeah, dug around a bit and https://github.com/apache/kafka/blob/trunk/docs/js/templateData.js#L19-L22 implies you want dotVersion, which I quickly tested against this patch to verify it works.

Signed-off-by: Colin P. Mccabe <cmccabe@confluent.io>
@cmccabe
Copy link
Contributor Author

cmccabe commented May 4, 2017

Let's punt on the {{version}} thing for now to get this in.

@cmccabe
Copy link
Contributor Author

cmccabe commented May 5, 2017

Oops, I just saw @ewencp's comment. dotVersion sounds like the right thing, I just pushed a patch for that.

@asfbot
Copy link

asfbot commented May 5, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.11/3518/
Test PASSed (JDK 8 and Scala 2.11).

@asfbot
Copy link

asfbot commented May 5, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/3509/
Test PASSed (JDK 8 and Scala 2.12).

@asfbot
Copy link

asfbot commented May 5, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.10/3512/
Test PASSed (JDK 7 and Scala 2.10).

Copy link
Contributor

@ijuma ijuma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

&lt;version&gt;{{dotVersion}}.0&lt;/version&gt;
&lt;/dependency&gt;
</pre>
For more information about the AdminClient APIs, see the <a href="/{{version}}/javadoc/index.html?org/apache/kafka/clients/AdminClient.html" title="Kafka {{dotVersion}} Javadoc">javadoc</a>.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the admin subpackage is missing. Fixed before merging.

@asfgit asfgit closed this in 124ddf5 May 5, 2017
@cmccabe cmccabe deleted the KAFKA-5162 branch May 20, 2019 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants