KamoCRM

Automatically create NATS JetStream stream if it doesn't exist

Fixkamo-shared-library
Shipped
4 நவம்பர், 2025 அன்று 6:55 PM UTC
Author
snadjafinia
Commit
226de84

- Added createStreamIfNotExists method to check and create the CHAT_MESSAGES stream - Stream is created with subjects from configuration (chat.>) - Fixes 'No matching streams for subject' error when publishing messages - Stream creation is idempotent - checks if stream exists before creating

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing