Fix Broker topics used to uniquely identify cluster nodes

Node-specific topic prefix subscriptions/publications now add a trailing
slash like "zeek/cluster/node/<name>/".  Without the trailing slash,
messages attempting to target "proxy-10" may also be sent to "proxy-1"
since subscription matching is prefix-based.
This commit is contained in:
Jon Siwek 2020-04-10 14:36:00 -07:00
parent 714e2f736a
commit ce9183a2ed
8 changed files with 203 additions and 200 deletions

View file

@ -1,101 +1,101 @@
1st stuff
hrw, 0, zeek/cluster/node/proxy-1
hrw (custom pool), 0, zeek/cluster/node/proxy-1
hrw, 1, zeek/cluster/node/proxy-1
hrw (custom pool), 1, zeek/cluster/node/proxy-1
hrw, 2, zeek/cluster/node/proxy-1
hrw (custom pool), 2, zeek/cluster/node/proxy-1
hrw, 3, zeek/cluster/node/proxy-1
hrw (custom pool), 3, zeek/cluster/node/proxy-1
hrw, 13, zeek/cluster/node/proxy-1
hrw (custom pool), 13, zeek/cluster/node/proxy-2
hrw, 37, zeek/cluster/node/proxy-1
hrw (custom pool), 37, zeek/cluster/node/proxy-2
hrw, 42, zeek/cluster/node/proxy-1
hrw (custom pool), 42, zeek/cluster/node/proxy-2
hrw, 101, zeek/cluster/node/proxy-1
hrw (custom pool), 101, zeek/cluster/node/proxy-2
rr, zeek/cluster/node/proxy-1
rr (custom pool), zeek/cluster/node/proxy-1
rr, zeek/cluster/node/proxy-1
rr (custom pool), zeek/cluster/node/proxy-2
rr, zeek/cluster/node/proxy-1
rr (custom pool), zeek/cluster/node/proxy-1
rr, zeek/cluster/node/proxy-1
rr (custom pool), zeek/cluster/node/proxy-2
rr, zeek/cluster/node/proxy-1
rr (custom pool), zeek/cluster/node/proxy-1
rr, zeek/cluster/node/proxy-1
rr (custom pool), zeek/cluster/node/proxy-2
rr, zeek/cluster/node/proxy-1
rr (custom pool), zeek/cluster/node/proxy-1
rr, zeek/cluster/node/proxy-1
rr (custom pool), zeek/cluster/node/proxy-2
hrw, 0, zeek/cluster/node/proxy-1
hrw (custom pool), 0, zeek/cluster/node/proxy-1
hrw, 1, zeek/cluster/node/proxy-1
hrw (custom pool), 1, zeek/cluster/node/proxy-1
hrw, 2, zeek/cluster/node/proxy-1
hrw (custom pool), 2, zeek/cluster/node/proxy-1
hrw, 3, zeek/cluster/node/proxy-1
hrw (custom pool), 3, zeek/cluster/node/proxy-1
hrw, 13, zeek/cluster/node/proxy-1
hrw (custom pool), 13, zeek/cluster/node/proxy-2
hrw, 37, zeek/cluster/node/proxy-1
hrw (custom pool), 37, zeek/cluster/node/proxy-2
hrw, 42, zeek/cluster/node/proxy-1
hrw (custom pool), 42, zeek/cluster/node/proxy-2
hrw, 101, zeek/cluster/node/proxy-1
hrw (custom pool), 101, zeek/cluster/node/proxy-2
hrw, 0, zeek/cluster/node/proxy-1/
hrw (custom pool), 0, zeek/cluster/node/proxy-1/
hrw, 1, zeek/cluster/node/proxy-1/
hrw (custom pool), 1, zeek/cluster/node/proxy-1/
hrw, 2, zeek/cluster/node/proxy-1/
hrw (custom pool), 2, zeek/cluster/node/proxy-1/
hrw, 3, zeek/cluster/node/proxy-1/
hrw (custom pool), 3, zeek/cluster/node/proxy-1/
hrw, 13, zeek/cluster/node/proxy-1/
hrw (custom pool), 13, zeek/cluster/node/proxy-2/
hrw, 37, zeek/cluster/node/proxy-1/
hrw (custom pool), 37, zeek/cluster/node/proxy-2/
hrw, 42, zeek/cluster/node/proxy-1/
hrw (custom pool), 42, zeek/cluster/node/proxy-2/
hrw, 101, zeek/cluster/node/proxy-1/
hrw (custom pool), 101, zeek/cluster/node/proxy-2/
rr, zeek/cluster/node/proxy-1/
rr (custom pool), zeek/cluster/node/proxy-1/
rr, zeek/cluster/node/proxy-1/
rr (custom pool), zeek/cluster/node/proxy-2/
rr, zeek/cluster/node/proxy-1/
rr (custom pool), zeek/cluster/node/proxy-1/
rr, zeek/cluster/node/proxy-1/
rr (custom pool), zeek/cluster/node/proxy-2/
rr, zeek/cluster/node/proxy-1/
rr (custom pool), zeek/cluster/node/proxy-1/
rr, zeek/cluster/node/proxy-1/
rr (custom pool), zeek/cluster/node/proxy-2/
rr, zeek/cluster/node/proxy-1/
rr (custom pool), zeek/cluster/node/proxy-1/
rr, zeek/cluster/node/proxy-1/
rr (custom pool), zeek/cluster/node/proxy-2/
hrw, 0, zeek/cluster/node/proxy-1/
hrw (custom pool), 0, zeek/cluster/node/proxy-1/
hrw, 1, zeek/cluster/node/proxy-1/
hrw (custom pool), 1, zeek/cluster/node/proxy-1/
hrw, 2, zeek/cluster/node/proxy-1/
hrw (custom pool), 2, zeek/cluster/node/proxy-1/
hrw, 3, zeek/cluster/node/proxy-1/
hrw (custom pool), 3, zeek/cluster/node/proxy-1/
hrw, 13, zeek/cluster/node/proxy-1/
hrw (custom pool), 13, zeek/cluster/node/proxy-2/
hrw, 37, zeek/cluster/node/proxy-1/
hrw (custom pool), 37, zeek/cluster/node/proxy-2/
hrw, 42, zeek/cluster/node/proxy-1/
hrw (custom pool), 42, zeek/cluster/node/proxy-2/
hrw, 101, zeek/cluster/node/proxy-1/
hrw (custom pool), 101, zeek/cluster/node/proxy-2/
2nd stuff
hrw, 0,
hrw (custom pool), 0, zeek/cluster/node/proxy-2
hrw (custom pool), 0, zeek/cluster/node/proxy-2/
hrw, 1,
hrw (custom pool), 1, zeek/cluster/node/proxy-2
hrw (custom pool), 1, zeek/cluster/node/proxy-2/
hrw, 2,
hrw (custom pool), 2, zeek/cluster/node/proxy-2
hrw (custom pool), 2, zeek/cluster/node/proxy-2/
hrw, 3,
hrw (custom pool), 3, zeek/cluster/node/proxy-2
hrw (custom pool), 3, zeek/cluster/node/proxy-2/
hrw, 13,
hrw (custom pool), 13, zeek/cluster/node/proxy-2
hrw (custom pool), 13, zeek/cluster/node/proxy-2/
hrw, 37,
hrw (custom pool), 37, zeek/cluster/node/proxy-2
hrw (custom pool), 37, zeek/cluster/node/proxy-2/
hrw, 42,
hrw (custom pool), 42, zeek/cluster/node/proxy-2
hrw (custom pool), 42, zeek/cluster/node/proxy-2/
hrw, 101,
hrw (custom pool), 101, zeek/cluster/node/proxy-2
hrw (custom pool), 101, zeek/cluster/node/proxy-2/
rr,
rr (custom pool), zeek/cluster/node/proxy-2
rr (custom pool), zeek/cluster/node/proxy-2/
rr,
rr (custom pool), zeek/cluster/node/proxy-2
rr (custom pool), zeek/cluster/node/proxy-2/
rr,
rr (custom pool), zeek/cluster/node/proxy-2
rr (custom pool), zeek/cluster/node/proxy-2/
rr,
rr (custom pool), zeek/cluster/node/proxy-2
rr (custom pool), zeek/cluster/node/proxy-2/
rr,
rr (custom pool), zeek/cluster/node/proxy-2
rr (custom pool), zeek/cluster/node/proxy-2/
rr,
rr (custom pool), zeek/cluster/node/proxy-2
rr (custom pool), zeek/cluster/node/proxy-2/
rr,
rr (custom pool), zeek/cluster/node/proxy-2
rr (custom pool), zeek/cluster/node/proxy-2/
rr,
rr (custom pool), zeek/cluster/node/proxy-2
rr (custom pool), zeek/cluster/node/proxy-2/
hrw, 0,
hrw (custom pool), 0, zeek/cluster/node/proxy-2
hrw (custom pool), 0, zeek/cluster/node/proxy-2/
hrw, 1,
hrw (custom pool), 1, zeek/cluster/node/proxy-2
hrw (custom pool), 1, zeek/cluster/node/proxy-2/
hrw, 2,
hrw (custom pool), 2, zeek/cluster/node/proxy-2
hrw (custom pool), 2, zeek/cluster/node/proxy-2/
hrw, 3,
hrw (custom pool), 3, zeek/cluster/node/proxy-2
hrw (custom pool), 3, zeek/cluster/node/proxy-2/
hrw, 13,
hrw (custom pool), 13, zeek/cluster/node/proxy-2
hrw (custom pool), 13, zeek/cluster/node/proxy-2/
hrw, 37,
hrw (custom pool), 37, zeek/cluster/node/proxy-2
hrw (custom pool), 37, zeek/cluster/node/proxy-2/
hrw, 42,
hrw (custom pool), 42, zeek/cluster/node/proxy-2
hrw (custom pool), 42, zeek/cluster/node/proxy-2/
hrw, 101,
hrw (custom pool), 101, zeek/cluster/node/proxy-2
hrw (custom pool), 101, zeek/cluster/node/proxy-2/
no stuff
hrw, 0,
hrw (custom pool), 0,