GetMsg retrieves a raw stream message stored in JetStream by sequence number. Use options nats.DirectGet() or nats.DirectGetNext() to trigger retrieval directly from a distributed group of servers (leader and replicas). The stream must have been created/updated with the AllowDirect boolean.
(name string, seq uint64, opts ...JSOpt)
| 55 | // directly from a distributed group of servers (leader and replicas). |
| 56 | // The stream must have been created/updated with the AllowDirect boolean. |
| 57 | GetMsg(name string, seq uint64, opts ...JSOpt) (*RawStreamMsg, error) |
| 58 | |
| 59 | // GetLastMsg retrieves the last raw stream message stored in JetStream by subject. |
| 60 | // Use option nats.DirectGet() to trigger retrieval |
no outgoing calls