jhelovuo / RustDDS

Rust implementation of Data Distribution Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

fgadaleta opened this issue · comments

commented

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?

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?

Closing as likely duplicate of #302.