Skip to content

[Output NATS]: Use Jetstream publisher insted of Core when publish to Jetstream #16571

@kfollesdal

Description

@kfollesdal

Use Case

The NATS output plugin use the NATS Core publisher both for Core and Jetstream. This can be problematic when publishing many messages to a Jetsteam, e.q you can overload the server. Should change publisher to use Jetstream publisher insted of Core when publishing to Jetstream.

Expected behavior

When Jetstream is configured for NATS output, it should use Jetstream publisher.

Actual behavior

NATS output use NATS core publisher both for Core and Jetstream.

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestRequests for new plugin and for new features to existing plugins

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions