io.quarkus.kafka.client.runtime.devui.model.request.KafkaMessagesRequest 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.request;
import java.util.Map;
import io.quarkus.kafka.client.runtime.devui.model.Order;
public class KafkaMessagesRequest {
private String topicName;
private Order order;
private int pageSize;
private Integer pageNumber;
private Map partitionOffset;
public KafkaMessagesRequest() {
}
public KafkaMessagesRequest(String topicName, Order order, int pageSize, int pageNumber) {
this.topicName = topicName;
this.order = order;
this.pageSize = pageSize;
this.pageNumber = pageNumber;
}
public KafkaMessagesRequest(String topicName, Order order, int pageSize, Map partitionOffset) {
this.topicName = topicName;
this.order = order;
this.pageSize = pageSize;
this.partitionOffset = partitionOffset;
}
public String getTopicName() {
return topicName;
}
public Order getOrder() {
return order;
}
public int getPageSize() {
return pageSize;
}
public int getPageNumber() {
return pageNumber;
}
public Map getPartitionOffset() {
return partitionOffset;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy