Skip to content

Using Tcp transport, readers nerver be notified that writers are lost or disconnected,after discovery server and writer process were killed. #4034

Answered by EduPonz
chunyisong asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @chunyisong,

I'm afraid what you are experiencing is a design decision regarding Discovery Server. When using DS, the participant liveliness is kept by the Server participants, so the Clients do not keep it between them (this is done to reduce discovery traffic). That being said, you can configure the LivelinessQosPolicy of your DataWriters to MANUAL_BY_TOPIC, as the writer liveliness protocol in that case is kept between writers and readers.

Alternatively, a year ago we did a proof of concept for having a mode in which the participant lease is kept between DS clients (you can find it here, although I cannot guarantee that it's functional); you could contact eProsima's commercial suppo…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by chunyisong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
triage Issue pending classification
2 participants
Converted from issue

This discussion was converted from issue #4033 on November 20, 2023 10:45.