@nestjs-plugins/nestjs-nats-jetstream-transport
Advanced tools
Comparing version 1.1.6 to 1.1.7
{ | ||
"name": "@nestjs-plugins/nestjs-nats-jetstream-transport", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "Nats JetStream Transport for NestJS", | ||
@@ -44,3 +44,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "e575637db472c7511c88b33c0bc461a51cb9fe4e" | ||
"gitHead": "bd347c0ed4c0c8350e45cfc4bbf2191cbaf35d75" | ||
} |
@@ -54,4 +54,2 @@ # 🚀 Nats JetStream Transport Module for NestJS | ||
## 📖 Description - configuration objects | ||
@@ -141,40 +139,16 @@ | ||
### **NatsStreamConfig** | ||
- **name**: string - Stream name | ||
- **subjects**: string[] - Array of subjects | ||
- **storage?**: StorageType (default: StorageType.File) - The type of storage backend, `File` and `Memory` | ||
- **retention?**: RetentionPolicy.limits (default: RetentionPolicy.Limits) - How message retention is considered, `Limits`, `Interest` or `WorkQueue` | ||
- **discard?**: DiscardPolicy (default: DiscardPolicy.Old) | ||
- **max_msgs?**: number (default: -1) - How large the Stream may become in total messages before the configured discard policy kicks in. | ||
- **max_msgs_per_subject?**: number (default: -1) | ||
- **max_msg_size?**: number (default: -1) - The largest message that will be accepted by the Stream. | ||
- **max_age?**: number (default: 0) - Maximum age of any message in the stream, expressed in microseconds. | ||
- **duplicate_window?**: number (default: 120000000000) - The window within which to track duplicate messages. | ||
- **num_replicas?**: number (default:1) - How many replicas to keep for each message in a clustered JetStream, maximum 5 | ||
- **max_consumers?**: number (default: -1) - not exposed | ||
- **sealed?**: boolean (default: false) - not exposed | ||
- **deny_delete?**: boolean (default: false) - not exposed | ||
- **deny_purge?**: boolean (default: false) - not exposed | ||
- **allow_rollup_hdrs?**: boolean (default: false) - not exposed | ||
## Code example | ||
@@ -181,0 +155,0 @@ |
142904
356