Skip to content

Commit

Permalink
Only fetch kafka metadata for relevant topics
Browse files Browse the repository at this point in the history
  • Loading branch information
alibresco authored Dec 20, 2023
1 parent edb9f72 commit 75a2ffa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/outputs/kafka_output/kafka_output.go
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ func (k *kafkaOutput) createConfig() (*sarama.Config, error) {
cfg.Producer.RequiredAcks = sarama.WaitForAll
cfg.Producer.Return.Successes = true
cfg.Producer.Timeout = k.Cfg.Timeout
cfg.Metadata.Full = false

switch k.Cfg.CompressionCodec {
case "gzip":
Expand Down

0 comments on commit 75a2ffa

Please sign in to comment.