com.taobao.drc.clusterclient.PartitionClient 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.taobao.drc.clusterclient.partition.BaseCheckpoint;
import com.taobao.drc.clusterclient.partition.IPartition;
import com.taobao.drc.clusterclient.util.Gaugeable;
import java.io.Closeable;
import java.io.IOException;
/**
* @author yangyang
* @since 17/6/29
*/
public interface PartitionClient extends Closeable, Gaugeable {
void start() throws IOException;
boolean isActive();
String offset();
NotifyController getNotifyController();
IPartition getPartition();
}