io.quarkus.kafka.client.runtime.devui.model.response.KafkaTopic Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-kafka-client Show documentation
Show all versions of quarkus-kafka-client Show documentation
Connect to Apache Kafka with its native API
package io.quarkus.kafka.client.runtime.devui.model.response;
public class KafkaTopic {
private String name;
private String topicId;
private int partitionsCount;
private boolean internal;
private long nmsg = 0;
public KafkaTopic() {
}
public KafkaTopic(String name, String topicId, int partitionsCount, boolean internal, long nmsg) {
this.name = name;
this.topicId = topicId;
this.partitionsCount = partitionsCount;
this.internal = internal;
this.nmsg = nmsg;
}
public String getName() {
return name;
}
public String getTopicId() {
return topicId;
}
public int getPartitionsCount() {
return partitionsCount;
}
public boolean isInternal() {
return internal;
}
public long getNmsg() {
return nmsg;
}
public String toString() {
StringBuilder sb = new StringBuilder(name);
sb.append(" : ").append(topicId);
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy