Skip to content

Commit

Permalink
Add update consumer to simplification ADR
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
  • Loading branch information
Jarema committed Apr 3, 2024
1 parent 8911fc8 commit 35460f5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions adr/ADR-37.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ Example set of methods on JetStreamContext:
- `deleteStream(streamName)`
- `listStreams()`
- Consumer operations:
- `addConsumer(streamName, consumerConfig)`
- `getConsumer(streamName, consumerName)`
- `createConsumer(streamName, consumerConfig)`
- `updateConsumer(streamName, consumerConfig)`
- `createOrUpdateConsumer(streamName, consumerConfig)`
- `deleteConsumer(streamName, consumerName)`
- `accountInfo()`

Expand All @@ -61,8 +63,10 @@ messages. Streams also allow for and managing consumers.
Example set of methods on Stream:

- operations on consumers:
- `addConsumer(consumerConfig)`
- `getConsumer(consumerName)`
- `createConsumer(consumerConfig)`
- `updateConsumer(consumerConfig)`
- `createOrUpdateConsumer(consumerConfig)`
- `deleteConsumer(consumerName)`
- operations a stream:
- `purge(purgeOpts)`
Expand Down

0 comments on commit 35460f5

Please sign in to comment.