Xuanwo commented on issue #437:
URL: https://github.com/apache/iceberg-rust/issues/437#issuecomment-2210582035

   > 2\. Call every methods with a retry wrapper. When meeting an unauthorized 
error, refetch the token and retry the method.
   
   Our rest catalog client now has a `authenticate` function.
   
   
https://github.com/apache/iceberg-rust/blob/0937f19d4c4b4ea14d423e6c78731904b4c9012e/crates/catalog/rest/src/client.rs#L88
   
   We can perform the expiration logic here.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to