Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "kafka-util", Version: version, PersistentPreRunE: func(cmd *cobra.Command, args []string) error { if vars.BootstrapServer != "" { return nil } var ok bool if vars.BootstrapServer, ok = os.LookupEnv(bootstrapServerEnvVar); ok { return nil } return fmt.Errorf("missing bootstrap server; must be provided via the '--bootstrap-server' flag or the '%s' environment variable", bootstrapServerEnvVar) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.