jhelovuo / RustDDS

Rust implementation of Data Distribution Service
Apache License 2.0
330 stars 66 forks source link

First message is not sent, a subscriber lags behind of 1 message #255

Closed fgadaleta closed 1 year ago

fgadaleta commented 1 year ago

When i publish a single message on a topic, it seems that message stays locked somewhere, until a next message is sent. Subscriber receiving messages will start receiving the first, when publisher is at the second.

Current topic QoS is

type = "History"
policy = "KeepLast"
depth = 3

But this weird behavior occurs regardless of qos.

Any hint why is that?

jhelovuo commented 1 year ago

This does not sound like right behaviour. I cannot outright tell why that happens.

Does it occur on the first sample only, or does the same condition of being "one late" persist later too?

Can you give a minimal example code to reproduce this?

jhelovuo commented 1 year ago

Closing as likely duplicate of #302.