Skip to content

Commit fb73fcb

Browse files
committed
chore: update nats sink docs
1 parent 2dbade0 commit fb73fcb

File tree

1 file changed

+22
-1
lines changed
  • website/cue/reference/components/sinks/generated

1 file changed

+22
-1
lines changed

website/cue/reference/components/sinks/generated/nats.cue

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,28 @@ generated: components: sinks: nats: configuration: {
484484
[jetstream]: https://docs.nats.io/nats-concepts/jetstream
485485
"""
486486
required: false
487-
type: bool: default: false
487+
type: object: options: {
488+
enabled: {
489+
required: false
490+
type: bool: default: false
491+
}
492+
headers: {
493+
description: "A map of NATS headers to be included in each message."
494+
required: false
495+
type: object: options: message_id: {
496+
description: """
497+
A unique identifier for the message. Useful for deduplication.
498+
499+
Can be a template that references fields in the event, e.g., `{{ event_id }}`.
500+
"""
501+
required: false
502+
type: string: {
503+
examples: ["{{ event_id }}"]
504+
syntax: "template"
505+
}
506+
}
507+
}
508+
}
488509
}
489510
request: {
490511
description: """

0 commit comments

Comments
 (0)