Skip to content

Commit

Permalink
custom topics
Browse files Browse the repository at this point in the history
  • Loading branch information
Bre77 committed Sep 11, 2024
1 parent c3daf76 commit b96a4d6
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 b96a4d6

Please sign in to comment.