com.taobao.drc.clusterclient.partition.IPartition 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.partition;
import com.taobao.drc.clusterclient.util.Gaugeable;
import java.util.Map;
/**
* @author yangyang
* @since 2017/7/6
*/
public interface IPartition extends Gaugeable {
String getName();
void ackAsConsumed(C checkpoint);
long getHeartbeatTimeInSec();
C getCheckpoint();
String getGuid();
String getGroup();
String getTopic();
Integer getPartitionId();
Integer getPartitionNum();
Iterable getCheckpoints();
}