PullSubscribe creates a Subscription that can fetch messages. See important note in Subscribe(). Additionally, for an ephemeral pull consumer, the "durable" value must be set to an empty string. When using PullSubscribe, the messages are fetched using Fetch() and FetchBatch() methods.
(subj, durable string, opts ...SubOpt)
| 122 | // set to an empty string. |
| 123 | // When using PullSubscribe, the messages are fetched using Fetch() and FetchBatch() methods. |
| 124 | PullSubscribe(subj, durable string, opts ...SubOpt) (*Subscription, error) |
| 125 | } |
| 126 | |
| 127 | // JetStreamContext allows JetStream messaging and stream management. |
no outgoing calls