Skip to content

Commit

Permalink
Correct TOML mapstructure for BrokerConfiguration addresses field
Browse files Browse the repository at this point in the history
  • Loading branch information
epapbak committed Jan 15, 2024
1 parent e56d2a9 commit cb75f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kafka/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (

// BrokerConfiguration represents configuration of a single-instance Kafka broker
type BrokerConfiguration struct {
Addresses []string `mapstructure:"address" toml:"address"`
Addresses []string `mapstructure:"addresses" toml:"addresses"`
SecurityProtocol string `mapstructure:"security_protocol" toml:"security_protocol"`
CertPath string `mapstructure:"cert_path" toml:"cert_path"`
SaslMechanism string `mapstructure:"sasl_mechanism" toml:"sasl_mechanism"`
Expand Down

0 comments on commit cb75f7d

Please sign in to comment.