Skip to content

Fix nats-servers format in docs, examples, and specs#224

Closed
nmburgan wants to merge 1 commit intomainfrom
fix_nats_server_references
Closed

Fix nats-servers format in docs, examples, and specs#224
nmburgan wants to merge 1 commit intomainfrom
fix_nats_server_references

Conversation

@nmburgan
Copy link
Copy Markdown
Member

@nmburgan nmburgan commented Apr 22, 2026

The Ruby MCollective server_resolver splits middleware_hosts on ':', so 'nats://broker:4222' produces three elements instead of two and breaks the NATS connection. The correct format is 'host:port' without the nats:// prefix because the NATS connector adds the scheme itself when constructing URIs.

Checklist

I have:

  • read the CONTRIBUTING.md document
  • read and accepted the Developer Certificate of Origin document and added a Signed-off-by annotation to each of my commits
  • tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
  • added or modified regression test(s)
  • added or modified unit test(s)

The Ruby MCollective server_resolver splits middleware_hosts on ':',
so 'nats://broker:4222' produces three elements instead of
two and breaks the NATS connection. The correct format is 'host:port'
without the nats:// prefix because the NATS connector adds the scheme
itself when constructing URIs.

Signed-off-by: nmburgan <13688219+nmburgan@users.noreply.github.com>
@nmburgan
Copy link
Copy Markdown
Member Author

Actually, I'm going to rename the --nats flags to --choria-broker since that's a lot clearer and I'll incorporate this there.

@nmburgan nmburgan closed this Apr 22, 2026
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.

1 participant