Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultLANSerfPort = 8301
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ID int32 NodeName string DataDir string DevMode bool Addr string SerfLANConfig *serf.Config RaftConfig *raft.Config Bootstrap bool BootstrapExpect int StartAsLeader bool StartJoinAddrsLAN []string StartJoinAddrsWAN []string NonVoter bool RaftAddr string LeaveDrainTime time.Duration ReconcileInterval time.Duration OffsetsTopicReplicationFactor int16 }
Config holds the configuration for a Config.
func DefaultConfig ¶
func DefaultConfig() *Config
DefaultConfig creates/returns a default configuration.
Click to show internal directories.
Click to hide internal directories.