Skip to content

Commit

Permalink
Merge pull request #324 from alibresco/main
Browse files Browse the repository at this point in the history
Only fetch kafka metadata for relevant topics
  • Loading branch information
karimra authored Dec 20, 2023
2 parents e3632a8 + 75a2ffa commit 0bba558
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 0bba558

Please sign in to comment.