Component
core/messaging/nats
A NATS messaging server for pub-sub, request-reply, and queueing. In this lean shape NATS routes subjects in memory with no durable persistence (JetStream file storage is not enabled), so the component renders as a stateless workload rather than a stateful one and declares no storage. Authentication is off by default; when a credential is attached to the optional password slot, each Recipe enables user/password authentication and wires the credential through the credential subsystem. Provider-agnostic: the same component is implemented by a Helm Recipe (Workload synthesis to native Kubernetes resources) and a Compose Recipe (local development). Exports its host and client port to consumers via the uses topology. On Kubernetes there are two realizations and the Manifest chooses between them. `nats` synthesizes the server as a workload and fetches nothing, so it is the one to reach for where the build must complete with no chart repository reachable. `nats-chart` renders the product's own Helm chart, which additionally carries a sidecar that reloads the server configuration in place, start-up, readiness and liveness probes against the monitoring endpoint, and a drain-then-shut-down sequence that lets connected clients move off before the pod goes away — and it is the realization that honours `monitoring_port`, so reach for it where a chart repository is reachable at build time.
प्रोवेनेंस
- सामग्री डाइजेस्ट
- sha256:6442f87145c50476deb4c047562136eece91faa7a3ebc101d7ec4458916f1e5e
- प्रकाशित
- 2026-11-10T10:12:28Z
- हस्ताक्षर आइडेंटिटी
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
हस्ताक्षर
- आधिकारिकapplication/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:90bd8f7234f43e27af901a28509adea5872dc136a2a8965ba80f287a2ee77ce2
इस संस्करण का रेफ़रेंस
oci://hub.aggrega.ai/component/core/messaging/nats:1.0.0डेवलपर पैरामीटर
वे मान जिन्हें डेवलपर Aggregate में सेट करता है।
| नाम | टाइप | डिफ़ॉल्ट | आवश्यक | विवरण |
|---|---|---|---|---|
| user | string | nats_client | नहीं | Client user provisioned for authenticated connections. Used only when a password credential is attached to the optional password slot; ignored when the server runs without authentication. |
ऑपरेटर का आकार-निर्धारण
इन्फ़्रास्ट्रक्चर का आकार-निर्धारण, जिसे ऑपरेटर हर एनवायरनमेंट के लिए समायोजित करता है।
| नाम | टाइप | डिफ़ॉल्ट | आवश्यक | विवरण |
|---|---|---|---|---|
| port | integer (min 1024, max 65535) | 4222 | नहीं | Client listen port. Most operators should omit this and let the Recipe assign the default (4222). |
| monitoring_port | integer (min 1024, max 65535) | 8222 | नहीं | HTTP monitoring endpoint port. Most operators should omit this and let the Recipe assign the default (8222). Read by the chart-backed realization, which serves the endpoint and aims its probes at it; the workload-synthesis and Compose realizations expose no monitoring endpoint and ignore it. |
| engine_version | string | 2.11-alpine | नहीं | NATS container image tag. Selects the image tag on container targets; the chart-backed realization pins its own image tag. |
| source_version | string | — | नहीं | Version of the Helm chart the chart-backed realization pulls. Read only by that realization; the workload-synthesis and Compose realizations pull no source artifact and ignore it. Changing it away from the Recipe's default does not guarantee value-mapping compatibility with the new chart. |
| compute | object | — | नहीं | — |
| overrides | object (open) | — | नहीं | Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads. |
आउटपुट अनुबंध
वे मान जिन्हें यह घटक uses टोपोलॉजी के ज़रिए उपभोक्ताओं को प्रकाशित करता है।
| नाम | टाइप | डिफ़ॉल्ट | आवश्यक | विवरण |
|---|---|---|---|---|
| host | string | — | हाँ | In-cluster DNS name of the Service fronting the server. A publisher or subscriber puts this name in its client's server list together with `port`. |
| port | integer | — | हाँ | TCP port the server accepts client connections on. It carries the client port an operator set, never the monitoring port. |
| protocol | string | — | नहीं | Wire protocol the published address speaks — `nats`, which is what a consumer selects a client library for. |
uses सॉकेट
वे डिपेंडेंसी सॉकेट जिनसे होकर यह घटक कनेक्ट होता है। किसी सॉकेट से होकर वायर किए गए हर कनेक्शन के लक्ष्य को उस सॉकेट के लेबल सेलेक्टर को संतुष्ट करना होगा, और हर कनेक्शन सॉकेट द्वारा घोषित स्लॉट में एक अटैचमेंट ले जा सकता है। आवश्यक स्लॉट को भरना हर उस कनेक्शन का दायित्व है जिसे Aggregate या Release सॉकेट से होकर वायर करता है।
कोई uses सॉकेट घोषित नहीं है।
अटैचमेंट स्लॉट
नामित बाइंडिंग बिंदु, जिन पर कोई Feature इस घटक से अटैच होता है। स्लॉट का सेलेक्टर यह सीमित करता है कि कौन-सा Feature उसे भर सकता है, और उसकी inject सूची बताती है कि Feature की सामग्री किन तरीकों से पहुँचाई जा सकती है। आवश्यक स्लॉट को हर इंस्टेंस पर बाइंड होना चाहिए, इंस्टेंस पर या उसके ऊपर के किसी दायरे में किसी अटैचमेंट द्वारा, और संवेदनशील स्लॉट सीक्रेट सामग्री सँभालने के लिए घोषित किया जाता है। कोई Feature ऐसे नाम के तहत भी अटैच हो सकता है जिसे कोई स्लॉट घोषित नहीं करता।
| स्लॉट | सेलेक्टर | आवश्यक | इंजेक्ट | संवेदनशील | विवरण |
|---|---|---|---|---|---|
| password | feature.aggrega.ai/kind=secret | नहीं | env | हाँ | Optional server authentication credential. When attached, enables NATS user/password authentication and supplies the password; unattached, the server runs without authentication. |
सेल्फ़-इंजेक्ट अनुमति-सूची
env
संबंध
अन्य प्रकाशित एंटिटी की ओर जाने वाले और उनसे आने वाले टाइप किए गए एज। जिस रेफ़रेंस का कोई प्रकाशित लक्ष्य नहीं है, वह लिंक के बजाय टूटे हुए एज के रूप में दिखाया जाता है।
इनका उपयोग करता है
यह एंटिटी कैटलॉग में किसी का भी उपयोग नहीं करती।
इनके द्वारा उपयोग किया जाता है
सॉकेट «media_server» का उपयोग करता है
सॉकेट «target_messaging» का उपयोग करता है
सॉकेट «upstream» का उपयोग करता है
सॉकेट «media_server» का उपयोग करता है
सॉकेट «forward_target» का उपयोग करता है
सॉकेट «scrape_target» का उपयोग करता है
सॉकेट «store» का उपयोग करता है
लागू होता है
लागू होता है
लागू होता है
लागू होता है
लागू होता है
लागू होता है
लागू होता है
इम्प्लीमेंट करता है
इम्प्लीमेंट करता है
इम्प्लीमेंट करता है