Skip to content

Rename NATS server terminology to Choria Broker#225

Open
nmburgan wants to merge 3 commits intomainfrom
rename-nats-to-choria-brokers
Open

Rename NATS server terminology to Choria Broker#225
nmburgan wants to merge 3 commits intomainfrom
rename-nats-to-choria-brokers

Conversation

@nmburgan
Copy link
Copy Markdown
Member

@nmburgan nmburgan commented Apr 22, 2026

Short description

"NATS" is an implementation detail of the Choria broker. Rename to
match Choria's user-facing terminology and bring the options in line
with the choria- prefix used by all other Choria transport options.

When choria-brokers is not provided, the client checks the config
file, then SRV records, then falls back to puppet:4222.

Also updates instructions to not specify "nats://" in the broker strings, since this was incorrect and would result in breakage.

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>
… choria-broker-timeout

"NATS" is an implementation detail of the Choria broker. Rename to
match Choria's user-facing terminology and bring the options in line
with the choria- prefix used by all other Choria transport options.

When choria-brokers is not provided, the client checks the config
file, then SRV records, then falls back to puppet:4222.

Signed-off-by: nmburgan <13688219+nmburgan@users.noreply.github.com>
@nmburgan nmburgan changed the title Rename nats to choria brokers Rename NATS server terminology to Choria Broker Apr 22, 2026
I keep forgetting to add on :4222 during testing, so I imagine others might too. This appends :4222 automatically if you don't specify it.

Signed-off-by: nmburgan <13688219+nmburgan@users.noreply.github.com>
@nmburgan nmburgan force-pushed the rename-nats-to-choria-brokers branch from 6011e34 to 2a349a8 Compare April 22, 2026 21:16
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.

3 participants