aboutsummaryrefslogtreecommitdiff
path: root/setup/jetstream/streams.go
diff options
context:
space:
mode:
Diffstat (limited to 'setup/jetstream/streams.go')
-rw-r--r--setup/jetstream/streams.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/setup/jetstream/streams.go b/setup/jetstream/streams.go
index 5810a2a9..3f07488f 100644
--- a/setup/jetstream/streams.go
+++ b/setup/jetstream/streams.go
@@ -18,7 +18,10 @@ var (
OutputKeyChangeEvent = "OutputKeyChangeEvent"
OutputTypingEvent = "OutputTypingEvent"
OutputClientData = "OutputClientData"
+ OutputNotificationData = "OutputNotificationData"
OutputReceiptEvent = "OutputReceiptEvent"
+ OutputStreamEvent = "OutputStreamEvent"
+ OutputReadUpdate = "OutputReadUpdate"
)
var streams = []*nats.StreamConfig{
@@ -58,4 +61,19 @@ var streams = []*nats.StreamConfig{
Retention: nats.InterestPolicy,
Storage: nats.FileStorage,
},
+ {
+ Name: OutputNotificationData,
+ Retention: nats.InterestPolicy,
+ Storage: nats.FileStorage,
+ },
+ {
+ Name: OutputStreamEvent,
+ Retention: nats.InterestPolicy,
+ Storage: nats.FileStorage,
+ },
+ {
+ Name: OutputReadUpdate,
+ Retention: nats.InterestPolicy,
+ Storage: nats.FileStorage,
+ },
}