Closed mtin closed 3 years ago
This is expected behavior. By default when using Shared Access Signature-based authentication (e.g. connection strings), we will disconnect and reconnect approximately every 58 minutes in order to renew the security credentials which will expire (by default) every hour. You should not experience any sort of data-loss during this automatic process.
If you would like to change the amount of time the credentials are valid for, use the optional sastoken_ttl
kwarg when instantiating the client with your desired factory method. Pass through the number of seconds you would like your credentials to be valid for.
Is this sufficient to answer your concerns?
ok, cool, thank you for clearing that up!
Context
Description of the issue
We are observing regular reconnects (approx. every hour) of the data connection. Listening on the event-grid topic for connected/disconnected events we can see this pattern (we noticed there are usually no disconnected events and there is no data loss)
Console log of the issue
No major blocker, but still - is this expected behaviour? Thanks in advance!