mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-10 00:29:01 +02:00
24 lines
458 B
Go
24 lines
458 B
Go
package hbase
|
|
|
|
import (
|
|
xtime "github.com/bilibili/kratos/pkg/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
|
|
}
|