All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.kafka.client.runtime.devui.model.response.KafkaTopic Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
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