From 35460f5c622c34a7f770c4899b6a0afaf2da98d9 Mon Sep 17 00:00:00 2001 From: Tomasz Pietrek Date: Wed, 3 Apr 2024 10:31:10 +0200 Subject: [PATCH] Add update consumer to simplification ADR Signed-off-by: Tomasz Pietrek --- adr/ADR-37.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/adr/ADR-37.md b/adr/ADR-37.md index 1500f8d3..2d3f3333 100644 --- a/adr/ADR-37.md +++ b/adr/ADR-37.md @@ -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()` @@ -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)`