bilibili-backup/library/database/hbase.v2/config.go

24 lines
445 B
Go
Raw Permalink Normal View History

2019-04-22 10:59:20 +08:00
package hbase
import (
xtime "go-common/library/time"
)
// ZKConfig Server&Client settings.
type ZKConfig struct {
Root string
Addrs []string
Timeout xtime.Duration
}
// Config hbase config
type Config struct {
Zookeeper *ZKConfig
RPCQueueSize int
FlushInterval xtime.Duration
EffectiveUser string
RegionLookupTimeout xtime.Duration
RegionReadTimeout xtime.Duration
TestRowKey string
}