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

io.quarkus.kafka.client.runtime.devui.model.request.KafkaMessagesRequest Maven / Gradle / Ivy

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