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

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

package io.quarkus.kafka.client.runtime.devui.model.request;

import java.util.Map;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties("action")
public class KafkaMessageCreateRequest {

    private String topic;
    private Integer partition;
    private String value;
    private String key;
    private Map headers;

    public KafkaMessageCreateRequest() {
    }

    public KafkaMessageCreateRequest(String topic, Integer partition, String value, String key, Map headers) {
        this.topic = topic;
        this.partition = partition;
        this.value = value;
        this.key = key;
        this.headers = headers;
    }

    public String getTopic() {
        return topic;
    }

    public Integer getPartition() {
        return partition;
    }

    public String getValue() {
        return value;
    }

    public String getKey() {
        return key;
    }

    public Map getHeaders() {
        return headers;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy