Skip to content

substrate does not allow non durable subscriptions to Nats streaming #55

Open
@slawo

Description

Connection to Nats streaming are always done using durable groups. This is problematic in cases where the client ID of the subscriber is not the same on reconnection (new pod name for example), or when we don't want to have more than one client for a given durable subscription.

It is preferable to connect to non group subscriptions when a unique instance is consuming events from a queue (ex most projectors in the current configuration)

stan.DurableName(c.conf.QueueGroup),

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions