DATA_TYPE_AUTH = 1
DATA_TYPE_NORM = 0

AUTH_INIT_STATE = 0
AUTH_NONE_STATE = -1
AUTH_FINISH_STATE = -2
AUTH_STATE_UPDATA_STEP = 1

EXCEPTION_ABORT = "exception_abort"

SUPERTOPIC = "supertopic"
TOPIC = "topic"
AUTH = "auth"

# wdf配置名常量
WDF = "wdf"
WDF_HOST = "host"
WDF_ROUTE = "route"

# dataway配置名常量
DW = "dataway"
DW_URL = "url"
DW_BATCHSIZE = "batch_size"
DW_FLUSHTIME = "flush_time"
DW_PK = "pk"
DW_AK = "ak"

NSQ = "nsq"
NSQ_SUPER_TOPIC = "super_topic"
NSQ_SUPER_CHNEL = "super_channel"
NSQ_HTTP_ADDR   = "lookupd_http_addr"

#日志配置常量
LOG = "log"
LOG_FILE  = "log_file"
LOG_LEVEL = "log_level"