Skip to content

What is recommended way to create JetStream streams on server start? #386

@acim

Description

@acim

I started experimenting with JetStream and as far I could figure out, it is necessary to create streams before using them. I found out Go example how to do that and it works, but if I use Go to create streams this means that my applications that use NATS JetStream have to do that. Is that the recommended way?

I think it would be more practical to be able to create streams on server start, for example by having configuration (a list or list of objects) here where we could put all streams that should be created if not existing already.

Maybe I am missing something, so please advise how to do this properly.

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