Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Z1, Z2 string
C1, C2 string
ExcludedTopics map[string]struct{}
TopicsOnly map[string]struct{}
Compress string
BandwidthLimit int64
Debug bool
AutoCommit bool
ProgressStep int64
ShowStatus bool
}
func DefaultConfig ¶
func DefaultConfig() *Config
type Mirror ¶
type Mirror struct { Config // contains filtered or unexported fields }
Mirror maintains a replica of an existing kafka cluster.
mirror
kafka(source) ------------------> kafka(target)
topics discover consumer balancing
target kafka auto.create.topics.enable=true
TODO * sync pub to assure no message lost * pub pool * we might add a data channel between pub and sub
Click to show internal directories.
Click to hide internal directories.