Skip to content

Commit

Permalink
custom topics
Browse files Browse the repository at this point in the history
  • Loading branch information
Bre77 committed Oct 30, 2024
1 parent b3d1541 commit a04e038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datastore/googlepubsub/publisher.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func NewProducer(ctx context.Context, prometheusEnabled bool, projectID string,
func (p *Producer) Produce(entry *telemetry.Record) {
ctx := context.Background()

topicName := telemetry.BuildTopicName(p.namespace, entry.TxType)
topicName := p.namespace
logInfo := logrus.LogInfo{"topic_name": topicName, "txid": entry.Txid}
pubsubTopic, err := p.createTopicIfNotExists(ctx, topicName)

Expand Down

0 comments on commit a04e038

Please sign in to comment.