Le ven. 25 sept. 2020 à 03:50, Larry Shen <larry.shen@nxp.com> a écrit :

Hi, Remi, thanks.

 

>>> 1. the zmq event stream is still available.

Q: This means still a zeromq for lava-publisher, and only for lava-publisher?


zmq is still used internally to send messages from lava-scheduler and lava-server-gunicorn to lava-publisher. lava-publisher will then publish events via zmq or websockets.


>>> 2. It's also possible to use web sockets to get the event stream.

Q: Any documentation we can refer to so that we could had a try for this later?


See lavacli source code. Using python3-aiohttp that fairly simple:

https://git.lavasoftware.org/lava/lavacli/-/blob/master/lavacli/commands/events.py#L235


Rgds

--
Rémi Duraffort
LAVA Architect
Linaro