Browse Source

KAFKA-5215; Small Javadoc fixes for AdminClient#describeTopics

Author: Colin P. Mccabe <cmccabe@confluent.io>

Reviewers: Roger Hoover <roger.hoover@gmail.com>, Ismael Juma <ismael@juma.me.uk>

Closes #3013 from cmccabe/KAFKA-5215
pull/2979/merge
Colin P. Mccabe 8 years ago committed by Ismael Juma
parent
commit
a281fe17fe
  1. 6
      clients/src/main/java/org/apache/kafka/clients/admin/AdminClient.java

6
clients/src/main/java/org/apache/kafka/clients/admin/AdminClient.java

@ -118,7 +118,7 @@ public abstract class AdminClient implements AutoCloseable { @@ -118,7 +118,7 @@ public abstract class AdminClient implements AutoCloseable {
public abstract ListTopicsResults listTopics(ListTopicsOptions options);
/**
* Descripe an individual topic in the cluster, with the default options.
* Describe some topics in the cluster, with the default options.
*
* See {@link AdminClient#describeTopics(Collection<String>, DescribeTopicsOptions)}
*
@ -131,10 +131,10 @@ public abstract class AdminClient implements AutoCloseable { @@ -131,10 +131,10 @@ public abstract class AdminClient implements AutoCloseable {
}
/**
* Descripe an individual topic in the cluster.
* Describe some topics in the cluster.
*
* Note that if auto.create.topics.enable is true on the brokers,
* AdminClient#describeTopic(topicName) may create a topic named topicName.
* describeTopics(topicName, ...) may create a topic named topicName.
* There are two workarounds: either use AdminClient#listTopics and ensure
* that the topic is present before describing, or disable
* auto.create.topics.enable.

Loading…
Cancel
Save