You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace the three-port Pyro4+ZMQ architecture with a single-port gRPC
service (default port 5556):
- Add mtda/grpc/ package: mtda.proto defines all RPCs including a
server-streaming Subscribe RPC (replaces ZMQ PUB/SUB console/event
stream) and a client-streaming StorageWrite RPC (replaces ZMQ
PUSH/PULL storage data path).
- Add QueueDataStream in mtda/storage/datastream.py; remove dead
NetworkDataStream and its zmq dependency.
- Rewrite mtda/console/remote.py: RemoteConsole and RemoteMonitor now
subscribe via gRPC instead of ZMQ SUB sockets; topic bytes
normalisation ensures correct dispatch.
- Fix ConsoleLogger._print(): always call publish() regardless of
socket state so console data reaches subscriber queues.
- Rewrite Client in mtda/client.py with _GrpcImpl and storage socket
adapters; extract session-name generation into a static method
(ASCII-only word list prevents invalid gRPC metadata); remove zmq.
- Fix mtda-www WebConsole: normalise topic bytes, add reconnect loop,
create reader tasks after mtda_start().
- Remove python3-zmq from mtda-service in debian/control; grpcio
already present in mtda-common covers all packages transitively.
- Update docs: remove obsolete console/data port entries from
[remote] config docs; correct default www port (9080 -> 5000).
BREAKING CHANGE: the console (5557) and data (5558) ports no longer
exist; all traffic flows over the single control port (default 5556).
Closes: #524
Signed-off-by: Cedric Hombourger <cedric.hombourger@siemens.com>
0 commit comments