com.alibaba.hologres.kafka.HoloSinkConnector Maven / Gradle / Ivy
package com.alibaba.hologres.kafka;
import com.alibaba.hologres.kafka.conf.HoloSinkConfig;
import com.alibaba.hologres.kafka.sink.HoloSinkTask;
import org.apache.kafka.common.config.Config;
import org.apache.kafka.common.config.ConfigDef;
import org.apache.kafka.connect.connector.Task;
import org.apache.kafka.connect.sink.SinkConnector;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Collections;
import java.util.List;
import java.util.Map;
/** HoloSinkConnector. */
public class HoloSinkConnector extends SinkConnector {
private static final Logger log = LoggerFactory.getLogger(HoloSinkConnector.class);
private static final String VERSION = "hologres-connector-kafka-1.3-SNAPSHOT";
private Map configProps;
@Override
public Class extends Task> taskClass() {
return HoloSinkTask.class;
}
@Override
public List