com.taobao.drc.clusterclient.partition.PartitionState 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;
/**
* @author yangyang
* @since 2017/7/17
*/
public enum PartitionState {
// the start state, indicates that the partition is added, and waiting for the partition info
INIT,
// waiting for the client to be started
STARTING,
// the client has started
RUNNING,
// waiting for the client to be stopped
STOPPING,
// the client has been stopped, the partition will be cleaned on the next commit event
STOPPED
}