io.quarkus.kafka.client.runtime.devui.model.response.KafkaMessage 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;
import java.util.Map;
public class KafkaMessage {
private final String topic;
private final int partition;
private final long offset;
private final long timestamp;
private final String key;
private final String value;
private final Map headers;
public KafkaMessage(String topic, int partition, long offset, long timestamp, String key, String value,
Map headers) {
this.topic = topic;
this.partition = partition;
this.offset = offset;
this.timestamp = timestamp;
this.key = key;
this.value = value;
this.headers = headers;
}
public String getTopic() {
return topic;
}
public int getPartition() {
return partition;
}
public long getOffset() {
return offset;
}
public long getTimestamp() {
return timestamp;
}
public String getKey() {
return key;
}
public String getValue() {
return value;
}
public Map getHeaders() {
return headers;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy