I’m building an application that does a fan out from one topic to smaller topics using Gossipsub. Most smaller clients are listening on the smaller topics.
Something I’ve noticed in the Go libp2p libs is that to publish I first have to call Join that seems to do some under the surface subscription things. I’m using the topic to do the following things immediately straight after the other:
Join
Publish
Close
I’m seeing messages get dropped and not arrive at peers. Is there someway to flush a topic before closing it to make sure the messages get published to some number of peers to provide some confidence they’re received?