Skip to content

Construct publisher/subscriber from DSN like URLs #202

@sagikazarmark

Description

@sagikazarmark

I think it would be nice to have a quick way to construct publishers/subscribers, similarly to https://gocloud.dev/concepts/urls/

That would allow configuring Watermill with DSNs like nats:// or amqp:// from config files or env vars.

Dependency is probably a question though. It could work similarly to how SQL driver registration works by simply importing the relevant packages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions