zeek / zeek-client

Experimental implementation of Zeek's future cluster management client
BSD 3-Clause "New" or "Revised" License
4 stars 4 forks source link

zeek-client feature set update for the next Cluster Controller iteration #1

Closed ckreibich closed 2 years ago

ckreibich commented 2 years ago

This expands support for cluster topology configurations, reworks the supported commands a bit for consistency, adds a few test commands for driving testcases, and introduces support for config files.

There's also a change around the use of endpoint.peer(): I noticed that in the testsuite's docker-compose setups the client sometimes complains about not being able to connect to the controller, despite the fact that the peer() command supports a retry. I'm speculating that there are network conditions that this retry doesn't catch. For now I've added an explicit, configurable retry within the connect() function provided by the client. Worth some digging.