Skip to content

Commit

Permalink
Merge pull request #994 from bruth/patch-1
Browse files Browse the repository at this point in the history
Add additional note to JetStream.PullSubscribe on durable semantics
  • Loading branch information
derekcollison authored Jun 7, 2022
2 parents 93d66a3 + d069d15 commit 69f0e65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ type JetStream interface {
QueueSubscribeSync(subj, queue string, opts ...SubOpt) (*Subscription, error)

// PullSubscribe creates a Subscription that can fetch messages.
// See important note in Subscribe()
// See important note in Subscribe(). Additionally, for an ephemeral pull consumer, the "durable" value must be
// set to an empty string.
PullSubscribe(subj, durable string, opts ...SubOpt) (*Subscription, error)
}

Expand Down

0 comments on commit 69f0e65

Please sign in to comment.