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

com.alibaba.otter.canal.protocol.position.MetaqPosition Maven / Gradle / Ivy

package com.alibaba.otter.canal.protocol.position;

/**
 * @author zebin.xuzb 2012-11-3 上午12:23:01
 * @since 1.0.0
 */
public class MetaqPosition extends Position {

    private static final long serialVersionUID = -8673508769040569273L;

    private String            topic;
    private String            msgNewId;
    private long              offset;

    public MetaqPosition(String topic, String msgNewId, long offset){
        super();
        this.topic = topic;
        this.msgNewId = msgNewId;
        this.offset = offset;
    }

    public String getTopic() {
        return topic;
    }

    public String getMsgNewId() {
        return msgNewId;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public void setMsgNewId(String msgNewId) {
        this.msgNewId = msgNewId;
    }

    public long getOffset() {
        return offset;
    }

    public void setOffset(long offset) {
        this.offset = offset;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy