Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Allow multiple stream config #56

Merged

Conversation

shinnida220
Copy link
Contributor

This PR allows for a single or array of streamConfig. For example

// Single stream config
streamConfig: {
        name: 'mystream',
        subjects: ['order.*'],
},

// multi stream config
 streamConfig: [{
      name: 'mystream',
      subjects: ['order.*'],
  },{
      name: 'myOtherStream',
      subjects: ['other.*'],
}],

Output

Screenshot 2023-11-23 at 22 03 48

@kenguru33 kenguru33 merged commit 6e2341c into Redningsselskapet:master Jan 26, 2024
1 check passed
@kenguru33 kenguru33 linked an issue Jan 30, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multiple connections to separate NATS instances?
2 participants