streamnative/pulsar-rs

Fixed serviceNotReady exception when using oauth2 authentication

tuteng opened this issue · 1 comments

serviceNotReady seems to have been done, so consider close this issue and open it on again if there is any need

If the oauth2 token expires, consider adding the following configuration for pulsar client:

OperationRetryOptions {
            operation_timeout: Duration::from_secs(30),
            retry_delay: Duration::from_secs(5),
            max_retries: Some(60),
        }