Hello,
I saw a dev drop a while back about the Python SDK now supporting the Notifications Service that's described here: https://developer.genesys.cloud/api/rest/v2/notifications/notification_service#connect-to-the-notification-service.
A few questions I could not find answers for in the docs or forum:
- Does the SDK support any kind of automatic extension of the 24-hour websocket lifetime that Genesys enforces or does it have to be done manually?
- Documentation says the lifetime can be extended by re-subscribing to the topics. Can this be accomplished both via a REST API call and resubscription via websocket message, or just either (which)?
- Does the SDK support automatic rollover attempt (try to create new channel with same subscriptions), when Genesys sends the one-minute advance warning about channel going to be closed? Or does this have to be handled manually also?
- What about token expiry? Given the websocket connection itself does not require authentication, what does the service do to existing connections when the token used to create them expires?
- Presuming Genesys closes the channel when the token expires, what kind of JSON notification message is sent?
- Does the SDK refresh the token in this case or does it have to be done manually?
- How much can there be jitter in the automatic heartbeat messages sent by Genesys? Ie. how long should a client wait until sending a manual health check to see if connection is live? How long should a client wait for a response to that?
Thank you!