Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nestjs-plugins/nestjs-nats-jetstream-transport

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nestjs-plugins/nestjs-nats-jetstream-transport - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"name": "@nestjs-plugins/nestjs-nats-jetstream-transport",
"version": "1.0.3",
"version": "1.0.4",
"description": "Nats JetStream Transport for NestJS",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -22,2 +22,3 @@ # Nats JetStream Transport Module for NestJS

npm i @nestjs/microservices
npm i nats
npm i @nestjs-plugins/nestjs-nats-jetstream-transport

@@ -69,3 +70,2 @@ ```

- **connectionOptions**: ConnectionOptions
- **streamConfig**: StreamConfig
- **jetStreamOptions**: JetStreamOptions

@@ -134,29 +134,2 @@ - **jetStreamPublishOptions**: JetStreamPublishOptions

### streamConfig
- **allow_rollup_hdrs**: boolean
- **deny_delete**: boolean
- **deny_purge**: boolean
- **description**: string
- **discard**: DiscardPolicy - When a Stream has reached its configured `max_bytes` or `max_msgs`, this policy kicks in. `DiscardPolicy::New` refuses new messages or `DiscardPolicy::Old` (default) deletes old messages to make space.
- **duplicate_window**: number - The window within which to track duplicate messages.
- **max_age**: number - Maximum age of any message in the stream, expressed in microseconds.
- **max_bytes**: number - How large the Stream may become in total bytes before the configured discard policy kicks in.
- **max_consumers**: number - How many Consumers can be defined for a given Stream, -1 for unlimited.
- **max_msg_size**: number - The largest message that will be accepted by the Stream.
- **max_msgs**: number - How large the Stream may become in total messages before the configured discard policy kicks in.
- **max_msgs_per_subject**: number
- **mirror**: ?
- **name**: string - A name for the Stream. Must not have spaces, tabs or period `.` characters.
- **no_ack**: boolean - Setting this to true sisables acknowledging messages that are received by the Stream.
- **num_replicas**: number - How many replicas to keep for each message in a clustered JetStream, maximum 5.
- **placement**: Not documented!
- **retention**: RetentionPolicy - How message retention is considered, `Limits` (default), `Interest` or `WorkQueue`.
- **sealed**: boolean
- **sources**: ?
- **storage**: 'file' | 'memory' - The type of storage backend, `File` (default) and `Memory`.
- **template_owner**: string - The owner of the template associated with this stream.
### JetStreamOptions

@@ -195,6 +168,2 @@

servers: 'localhost:4222',
},
streamConfig: {
subjects: ['order.*'],
},
}),

@@ -201,0 +170,0 @@ ],

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc