Documentation ¶
Overview ¶
Package agent is a database agent in remote servers.
Index ¶
Constants ¶
View Source
const ( // JavaClassPathZookeeperr353beta is the Java class paths of Zookeeper r3.5.3-beta. // http://zookeeper.apache.org/doc/r3.5.3-beta/zookeeperAdmin.html#sc_zkMulitServerSetup JavaClassPathZookeeperr353beta = `` /* 156-byte string literal not displayed */ )
Java class paths for Zookeeper. '-cp' is for 'class search path of directories and zip/jar files'. See https://zookeeper.apache.org/doc/trunk/zookeeperAdmin.html for more. UPDATE FOR EACH ZOOKEEPER RELEASES! Search correct paths with 'find ./zookeeper/lib | sort'.
Variables ¶
View Source
var Command = &cobra.Command{
Use: "agent",
Short: "Database 'agent' in remote servers.",
RunE: commandFunc,
}
Command implements 'agent' command.
Functions ¶
func NewServer ¶
func NewServer() dbtesterpb.TransporterServer
NewServer returns a new server that implements gRPC interface.
Types ¶
type ZookeeperConfig ¶
type ZookeeperConfig struct { TickTime int64 DataDir string ClientPort int64 InitLimit int64 SyncLimit int64 MaxClientConnections int64 SnapCount int64 Peers []ZookeeperPeer }
ZookeeperConfig is zookeeper configuration. http://zookeeper.apache.org/doc/trunk/zookeeperAdmin.html
type ZookeeperPeer ¶
ZookeeperPeer defines Zookeeper peer configuration.
Click to show internal directories.
Click to hide internal directories.