Skip to content

Broker hierarchy on one machine? #1611

Answered by trevorhardy
trevorhardy asked this question in Q&A
Discussion options

You must be logged in to vote

After working with @ebereleim, we've figured out the winning combination of parameters and values valid as of v3.0.0-alpha.2. Theses will be posted in the User Guide Examples but here are the salient points:

Parent (root) broker:
"exec": "helics_broker --loglevel=7 --timeout='10s' --port=25200",

  • The port on which the child brokers connect to the root (parent) broker is 25200.

Child brokers:
"exec": "helics_broker -f 2 --loglevel=7 --timeout='10s' --port=25400 --broker_address=tcp://127.0.0.1:25200"

  • Address of the parent broker is 127.0.0.1 port 25200
  • Port that the federates connect to this broker on is 25400

Federates:
"brokerAddress": "tcp://127.0.0.1:25400",

  • Federates connect to th…

Replies: 2 comments

Comment options

trevorhardy
Nov 11, 2020
Collaborator Author

You must be logged in to vote
0 replies
Comment options

trevorhardy
Nov 16, 2020
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by trevorhardy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant