Subscribe to LEAFNODE.CONNECT and LEAFNODE.DISCONNECT events #5902
|
Hi, I am trying to subscribe to LEAFNODE.CONNECT and LEAFNODE.DISCONNECT events. My hub is configured as and leaf node is configured as When I subscribe to events on hubusing command: I never receive LEAFNODE.CONNECT and LEAFNODE.DISCONNECT events. |
Replies: 2 comments 9 replies
|
From the system account you can subscribe to the following.
This will show all connections of all types for all accounts. The third token is the account. e.g. If you want only the leafnodes, you can subscribe to the following, again from the system account.
e.g. Verified with Synadia Cloud. |
|
Hi, I managed to receive connections when I subscribe to $SYS.ACCOUNT..CONNECT, but still I can't receive anything when I subscribe to $SYS.ACCOUNT..LEAFNODE.>. My docker-compose is nats-main.conf and nats-leaf.conf is: |
From the system account you can subscribe to the following.
$SYS.ACCOUNT.*.CONNECTThis will show all connections of all types for all accounts. The third token is the account.
e.g.