Jump to content

How many parallel connections to EventHub are possible?


tweak-wtf

Recommended Posts

Posted

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

Posted

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...