Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Server = &cobra.Command{ Use: "server", Short: "Run the kafka-proxy server", PreRunE: func(cmd *cobra.Command, args []string) error { SetLogger() if err := c.InitSASLCredentials(); err != nil { return err } if err := c.InitBootstrapServers(getOrEnvStringSlice(bootstrapServersMapping, "BOOTSTRAP_SERVER_MAPPING")); err != nil { return err } if err := c.InitExternalServers(getOrEnvStringSlice(externalServersMapping, "EXTERNAL_SERVER_MAPPING")); err != nil { return err } if err := c.InitDialAddressMappings(getOrEnvStringSlice(dialAddressMapping, "DIAL_ADDRESS_MAPPING")); err != nil { return err } if err := c.Validate(); err != nil { return err } return nil }, Run: Run, }
Functions ¶
func NewHTTPHandler ¶
func NewPluginClient ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.