Jump to content

How many parallel connections to EventHub are possible?


tweak-wtf

Recommended Posts

Hey folks,
I was wondering about how many parallel connections to the EventHub are possible.
I have a dedicated process running connected to the EventHub invoking session.event_hub.wait(). When I connect from somewhere else to an API server session with `auto_connect_event_hub=True` I get an error message telling me that the conenction to the EventHub can't be established.
Is that because only 1 process can connect to it when invoking `session.event_hub.wait()`?

All the best,
Tony

Link to comment
Share on other sites

Hi Tony,

You can have multiple connections against the Eventhub.
Are you having multiple scripts using connections against the hub?
With the same account being used for the connections?
We recommend passing auto_connect_event_hub=False when creating a session if the event hub is not going to be used:
http://ftrack-python-api.rtd.ftrack.com/en/stable/api_reference/session.html#ftrack_api.session.Session
We can look further into this, but need some more information.
Would it be ok to continue in the support channel?

Regards,
Johan

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...