I will answer my question here if it will be used by someone else.
Requirements in which:
The client should be able to ask the server which identifiers (topics) are available for subscription.
The client must select the identifier of interest to him and inform the server about it.
The server must create data for all signed too id and send this data to clients.
The client and server should not lock / hang if one of them leaves.
Implementation:
Step 1. This is two-way traffic and is performed using REQ / REP sockets.
Step 2. One traffic path from one client to one server and is performed by PUSH / PULL sockets.
3. PUB/SUB.
4. , . " " , -, , . ( , ..).
4+. , , . , ( ). , . , , ( ). .
. . , zeromq /, .