mirror of https://github.com/apache/kafka.git
KAFKA-18094 Remove deprecated TopicListing(String, Boolean) (#18248)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
ec32c8a376
commit
90ff97b51d
|
@ -27,20 +27,6 @@ public class TopicListing {
|
|||
private final Uuid topicId;
|
||||
private final boolean internal;
|
||||
|
||||
/**
|
||||
* Create an instance with the specified parameters.
|
||||
*
|
||||
* @param name The topic name
|
||||
* @param internal Whether the topic is internal to Kafka
|
||||
* @deprecated Since 3.0 use {@link #TopicListing(String, Uuid, boolean)} instead
|
||||
*/
|
||||
@Deprecated
|
||||
public TopicListing(String name, boolean internal) {
|
||||
this.name = name;
|
||||
this.internal = internal;
|
||||
this.topicId = Uuid.ZERO_UUID;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance with the specified parameters.
|
||||
*
|
||||
|
|
|
@ -196,6 +196,9 @@
|
|||
<code>DEAD</code> if the group ID was not found. In Apache Kafka 4.0, the <code>GroupIdNotFoundException</code>
|
||||
is thrown instead as part of the support for new types of group.
|
||||
</li>
|
||||
<li>The <code>org.apache.kafka.clients.admin.TopicListing.TopicListing(String, boolean)</code> method were removed.
|
||||
Please use <code>org.apache.kafka.clients.admin.TopicListing.TopicListing(String, Uuid, boolean)</code> instead.
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue