Skip to content

Commit

Permalink
Fix type for topics in Kafka config
Browse files Browse the repository at this point in the history
  • Loading branch information
belimawr committed Feb 21, 2024
1 parent b140525 commit 05f96f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libbeat/outputs/kafka/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ type kafkaConfig struct {

// Currently only used for validation. Those values are later
// unpacked into temporary structs whenever they're necessary.
Topic string `config:"topic"`
Topics []string `config:"topics"`
Topic string `config:"topic"`
Topics []any `config:"topics"`
}

type metaConfig struct {
Expand Down

0 comments on commit 05f96f7

Please sign in to comment.