Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = module.Descriptor{ Kind: "kafka", Actions: []module.ActionDesc{ { Name: module.CreateAction, }, { Name: module.UpdateAction, }, }, DriverFactory: func(confJSON json.RawMessage) (module.Driver, error) { conf := defaultDriverConf if err := json.Unmarshal(confJSON, &conf); err != nil { return nil, err } return &kafkaDriver{ conf: conf, }, nil }, }
Functions ¶
This section is empty.
Types ¶
type AdvertiseMode ¶
type Config ¶
type Config struct { Entity string `json:"entity,omitempty"` Environment string `json:"environment,omitempty"` Landscape string `json:"landscape,omitempty"` Organization string `json:"organization,omitempty"` AdvertiseMode AdvertiseMode `json:"advertise_mode"` Brokers []Broker `json:"brokers,omitempty"` Type string `json:"type"` }
Click to show internal directories.
Click to hide internal directories.