Skip to content

Commit

Permalink
Fix distributor
Browse files Browse the repository at this point in the history
  • Loading branch information
periklis committed Feb 18, 2025
1 parent 4d5c093 commit a840cf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/distributor/distributor.go
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,7 @@ func (d *Distributor) sendStreamToKafka(ctx context.Context, stream KeyedStream,
}

// Add metadata record
metadataRecord := kafka.EncodeStreamMetadata(partitionID, d.cfg.KafkaConfig.Topic, tenant, stream.HashNoShard)
metadataRecord := kafka.EncodeStreamMetadata(partitionID, d.cfg.KafkaConfig.Topic, tenant, stream.HashNoShard, stream.RingToken)
records = append(records, metadataRecord)

d.kafkaRecordsPerRequest.Observe(float64(len(records)))
Expand Down

0 comments on commit a840cf5

Please sign in to comment.