KAFKA-12810: Remove deprecated TopologyDescription.Source#topics (#10727)

Removes methods that were deprecated via KIP-321.

Reviewers: Matthias J. Sax <matthias@confluent.io>
This commit is contained in:
Josep Prat 2021-05-19 20:49:26 +02:00 committed by GitHub
parent bb48cf33b3
commit b58da356be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 13 deletions

View File

@ -113,13 +113,6 @@ public interface TopologyDescription {
* A source node of a topology.
*/
interface Source extends Node {
/**
* The topic names this source node is reading from.
* @return comma separated list of topic names or pattern (as String)
* @deprecated use {@link #topicSet()} or {@link #topicPattern()} instead
*/
@Deprecated
String topics();
/**
* The topic names this source node is reading from.

View File

@ -1589,12 +1589,6 @@ public class InternalTopologyBuilder {
this.topicPattern = pattern;
}
@Deprecated
@Override
public String topics() {
return topics.toString();
}
@Override
public Set<String> topicSet() {
return topics;