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

Add support for alternative RegistrationFile #576

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

DavisVaughan
Copy link
Contributor

Closes #563

@lionel-
Copy link
Contributor

lionel- commented Oct 9, 2024

TODO for JEP65:

Subscribe to all subscription messages

// Set xpub_verbose option to 1 to pass all subscription messages (not only unique ones).
m_publisher.set(zmq::sockopt::xpub_verbose, 1);

From the guide (): https://zguide.zeromq.org/docs/chapter5/

by default, the XPUB socket does not report duplicate subscriptions, which is what you want when you’re naively connecting an XPUB to an XSUB. Our example sneakily gets around this by using random topics so the chance of it not working is one in a million. In a real LVC proxy, you’ll want to use the ZMQ_XPUB_VERBOSE option that we implement in Chapter 6 - The ZeroMQ Community as an exercise.

IOPub needs to listen on its socket

How do we listen to both XPUB and channel messages?

Have the forwarding thread own the socket? Need to send messages via that thread too...

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

Successfully merging this pull request may close these issues.

Fix Jupyter connection race condition
2 participants