Skip to content

Commit

Permalink
Revert "fix: use unique consumer id (nameserver-systems#361)"
Browse files Browse the repository at this point in the history
This reverts commit c79800c.
  • Loading branch information
linxside committed Jul 12, 2024
1 parent 6127d7b commit 5afb537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/microservice/messaging/nats.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (nb *natsBroker) CreatePersistentMessageReceiver(name, id, address, port, c
messageStartTime := time.Now().Add(-15 * time.Minute).Round(time.Minute)

cfg := jetstream.ConsumerConfig{
Name: name + id,
Name: name,
DeliverPolicy: jetstream.DeliverByStartTimePolicy,
OptStartTime: &messageStartTime,
AckPolicy: jetstream.AckNonePolicy,
Expand Down

0 comments on commit 5afb537

Please sign in to comment.