Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use XPUB for zeromq::InterProcessPortal so that we can keep track of existing subscriptions #188

Open
tsaubergine opened this issue Feb 25, 2021 · 0 comments
Assignees

Comments

@tsaubergine
Copy link
Member

Some messages (e.g. goby::middleware::intervehicle::modem_subscription_forward_tx) are critical that there's a subscriber(s) (in this case from the InterVehiclePortal) before we publish our message.

Right now we have a "sleep" after the hold is released (after all required subscriptions) to allow for the subscriptions to flow through the system.

It would be better to notify the application upon subscriptions in some fashion so that we can buffer any "required" publications until we have a subscription.

@tsaubergine tsaubergine self-assigned this Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant