Package io.confluent.ksql.api.client
Interface TopicInfo
-
public interface TopicInfo
Metadata for a Kafka topic available for use with ksqlDB.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
int
getPartitions()
List<Integer>
getReplicasPerPartition()
Returns the number of replicas for each topic partition.
-
-
-
Method Detail
-
getName
String getName()
- Returns:
- the name of this topic
-
getPartitions
int getPartitions()
- Returns:
- the number of partitions for this topic
-
-