io.github.majusko.pulsar2.solon.PulsarMessage Maven / Gradle / Ivy
package io.github.majusko.pulsar2.solon;
import org.apache.pulsar.client.api.MessageId;
import java.util.Map;
public class PulsarMessage {
private T value;
private Map properties;
private String topicName;
private String key;
private MessageId messageId;
private long sequenceId;
private String producerName;
private long publishTime;
private long eventTime;
public T getValue() {
return value;
}
public void setValue(T value) {
this.value = value;
}
public Map getProperties() {
return properties;
}
public void setProperties(Map properties) {
this.properties = properties;
}
public String getTopicName() {
return topicName;
}
public void setTopicName(String topicName) {
this.topicName = topicName;
}
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
public MessageId getMessageId() {
return messageId;
}
public void setMessageId(MessageId messageId) {
this.messageId = messageId;
}
public String getProducerName() {
return producerName;
}
public void setProducerName(String producerName) {
this.producerName = producerName;
}
public long getPublishTime() {
return publishTime;
}
public void setPublishTime(long publishTime) {
this.publishTime = publishTime;
}
public long getEventTime() {
return eventTime;
}
public void setEventTime(long eventTime) {
this.eventTime = eventTime;
}
public long getSequenceId() {
return sequenceId;
}
public void setSequenceId(long sequenceId) {
this.sequenceId = sequenceId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy