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

com.wu.easy.kafka.connect.mysql.Test Maven / Gradle / Ivy

There is a newer version: 1.2.5-JDK17
Show newest version
package com.wu.easy.kafka.connect.mysql;

import org.apache.kafka.common.config.ConfigDef;
import org.apache.kafka.connect.connector.Task;
import org.apache.kafka.connect.sink.SinkConnector;

import java.util.List;
import java.util.Map;

/**
 * description
 *
 * @author Jia wei Wu
 * @date 2020/10/5 下午5:42
 */
public class Test {

    public static void main(String[] args) {
        SinkConnector sinkConnector = new SinkConnector() {
            @Override
            public void start(Map map) {

            }

            @Override
            public Class taskClass() {
                return null;
            }

            @Override
            public List> taskConfigs(int i) {
                return null;
            }

            @Override
            public void stop() {

            }

            @Override
            public ConfigDef config() {
                return null;
            }

            @Override
            public String version() {
                return null;
            }
        };
        sinkConnector.start(null);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy