Documentation
¶
Overview ¶
Package client implements the creation of a Kafka client.
Package client implements the creation of a Kafka client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client represents a Kafka client.
func (*Client) AlterConfigsMethod ¶
AlterConfigsMethod is the alter configs method that should be used (auto, incremental, non-incremental).
type Config ¶ added in v0.1.0
type Config struct { SeedBrokers []string `json:"seedBrokers,omitempty"` TLS *tlsConfig `json:"tls,omitempty"` SASL *saslConfig `json:"sasl,omitempty"` // Set the maximum Kafka version to try (e.g. '0.8.0', '2.3.0'). AsVersion string `json:"asVersion,omitempty"` // Underlying Kafka client log-level (none, error, warn, info, debug). LogLevel string `json:"logLevel,omitempty"` // Timeout in milliseconds to be used by requests with timeouts. TimeoutMs int32 `json:"timeoutMs,omitempty"` // The alter configs method that should be used (auto, incremental, non-incremental). AlterConfigsMethod string `json:"alterConfigsMethod,omitempty"` }
Config represents configuration for the creation of a client.
Click to show internal directories.
Click to hide internal directories.