bilibili-backup/library/database/hbase.v2/config.go
2019-04-22 02:59:20 +00:00

24 lines
445 B
Go

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
}