How to call ZeroMQ
I want to call StreaMonitor through my own program to perform related operations. I tried ZeroMQ but couldn't succeed
ZeroMQ just gives a "communication way". So it's relatively open what's communicated.
There is no real protocol defined. It's more or less string based by the commands of the CLI.
See this for a client example.
ZeroMQ just gives a "communication way". So it's relatively open what's communicated.
There is no real protocol defined. It's more or less string based by the commands of the CLI.
See this for a client example.
Ok, I have succeeded. But when I pass the command, it will execute the command on all my StreaMonitors (I have multiple StreaMonitors running on different ports at the same time).
The ZeroMQ Manager doesn't support a port switch by default. So the WebUI Port can be changed and it could be possible to solve this with Docker.
So I guess it depends how the ZeroMQ Library handles this. It might be possible that the Library is smart enough to recognize that a second application want's to use the socket and broadcasts input to all.
You could also simply implement a way to set the ZeroMQ port. This should solve the problem also.