Skip to content

Why so inconvenient protocol binding for NATS? #1115

@skillcoder

Description

@skillcoder

Did you try to use this v3 API in production?
https://github.com/cloudevents/sdk-go/tree/main/protocol/nats_jetstream/v3

Why do you think it is "OK" to create separate protocol binding object for each type of event?

If you don't see the issue, I will clarify:

The problem in the cejsm.WithSendSubject - actually this is not an Option, this is required setting!!!
You just can't send any event without setting this "Option"

And since this option not possible to set on Send - you MUST create Protocol for each type of event, since each event should send to separate subject.

Metadata

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