com.taobao.drc.clusterclient.PartitionClientFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of consumer-core Show documentation
Show all versions of consumer-core Show documentation
The java consumer core component for Data Transmission Service
package com.taobao.drc.clusterclient;
import com.aliyun.drc.client.Listener;
import com.taobao.drc.clusterclient.clustermanager.PartitionInfo;
/**
* @author yangyang
* @since 17/6/29
*/
public interface PartitionClientFactory {
PartitionClient create(C context,
PartitionInfo partitionInfo,
T listener,
String initOffset,
Listener clientCtrListener) throws Exception;
}