NATS JetStream
Streamnats-jetstream
Persistence layer for NATS providing globally ordered, Raft-replicated streams.
- Provider
- default
- Kind
- Stream
- Category
- Messaging
- Official docs
- https://docs.nats.io/nats-concepts/jetstream
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| acks | enum | none | leader | quorum | all | no | — | ▸ quorum |
| compaction | boolean | — | no | false | inherited |
| delivery | enum | at-most-once | at-least-once | exactly-once | no | at-least-once | ▸ at-least-once |
| idempotentProducer | boolean | — | no | false | inherited |
| managed | boolean | — | no | false | ▸ false |
| minInsyncReplicas | integer | — | no | — | inherited |
| ordering | enum | per-key | global | no | per-key | ▸ global |
| partitions | integer | — | no | — | inherited |
| replicationFactor | integer | — | no | — | ▸ 1 |
| retentionHours | integer | — | no | — | inherited |
| retentionPolicy | enum | limits | interest | work-queue | no | limits | inherited |
| schemaEnforced | boolean | — | no | false | inherited |
| storage | enum | ephemeral | persistent | no | persistent | ▸ persistent |
| transactions | boolean | — | no | false | inherited |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
No rule reads this kind yet. That is a gap, not a guarantee.
nodes:
- { id: "nats-jetstream", component: "nats-jetstream" }DataHubalibaba-datahubApsaraMQ for Kafkaalibaba-kafkaAmazon Kinesis Video Streamsaws-kinesis-video-streamsAmazon Managed Streaming for Apache Kafkaaws-mskAmazon Kinesis Data StreamskinesisAzure Event Hubsazure-event-hubsAutoMQautomqConfluent Cloudconfluent-cloudApache KafkakafkaApache PulsarpulsarRedpandaredpandaApache RocketMQrocketmqGeneric streamstreamWarpStreamwarpstreamManaged Service for Apache Kafkagoogle-managed-kafkaIBM Event Streamsibm-event-streamsOCI Streamingoci-streamingOCI Streaming with Apache Kafkaoci-streaming-kafka
# yaml-language-server: $schema=../../schema/component.schema.json # NATS JetStream: persistence layer on NATS. A stream is a single globally ordered sequence (no partitions), # file storage and 1 replica by default, Raft-replicated when replicas > 1; retention unlimited unless limits set. schemaVersion: "1" type: "component" id: "nats-jetstream" kind: "stream" provider: "default" docs: "https://docs.nats.io/nats-concepts/jetstream" defaults: delivery: "at-least-once" ordering: "global" replicationFactor: 1 acks: "quorum" storage: "persistent" managed: false properties: retentionPolicy: type: "enum" values: ["limits", "interest", "work-queue"] default: "limits"