Definitions
The
providerId argument, including the default value “default”, must correspond to an equivalent property in events.providers.nats entry of the router config.yml.@edfs_natsPublish
| Argument name | Type | Value |
|---|---|---|
| subject | String! | The event subject. |
| providerId | String! | The provider ID, which identifies the connection in the router config.yaml. If unsupplied, the provider ID “default” will be used. |
@edfs__natsRequest
| Argument name | Type | Value |
|---|---|---|
| subject | String! | The event subject. |
| providerId | String! | The provider ID, which identifies the connection in the router config.yaml. If unsupplied, the provider ID “default” will be used. |
@edfs__natsSubscribe
| Argument name | Type | Value |
|---|---|---|
| subjects | [String!]! | The event subjects (it is possible to subscribe to multiple events). See subjects. |
| providerId | String! | The provider ID, which identifies the connection in the router config.yaml. If unsupplied, the provider ID “default” will be used. |
| streamConfiguration | edfs__StreamConfiguration | Configures a stream/consumer for a NATS connection. See Stream and consumer configuration. |