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

top.javatool.canal.client.spring.boot.properties.CanalKafkaProperties Maven / Gradle / Ivy

There is a newer version: 1.2.1-RELEASE
Show newest version
package top.javatool.canal.client.spring.boot.properties;


import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = CanalSimpleProperties.CANAL_PREFIX)
public class CanalKafkaProperties extends CanalProperties {



    private String servers;

    private String topic;

    private Integer partition;

    private String groupId;


    public String getServers() {
        return servers;
    }

    public void setServers(String servers) {
        this.servers = servers;
    }

    public String getTopic() {
        return topic;
    }

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

    public Integer getPartition() {
        return partition;
    }

    public void setPartition(Integer partition) {
        this.partition = partition;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy