Skip to content

Commit

Permalink
Set topic creation
Browse files Browse the repository at this point in the history
  • Loading branch information
benclive committed Aug 27, 2024
1 parent 856388a commit 7044778
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/ingester-rf1/kafka_tee.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ func NewKafkaTee(
//commonKafkaClientOptions(kafkaCfg, metrics, logger),
kgo.RequiredAcks(kgo.AllISRAcks()),
kgo.DefaultProduceTopic("rf1"),
kgo.AllowAutoTopicCreation(),

// We set the partition field in each record.
kgo.RecordPartitioner(kgo.ManualPartitioner()),
Expand Down

0 comments on commit 7044778

Please sign in to comment.