nastra commented on code in PR #12563:
URL: https://github.com/apache/iceberg/pull/12563#discussion_r2176566947


##########
core/src/main/java/org/apache/iceberg/rest/auth/RefreshingAuthManager.java:
##########
@@ -18,73 +18,27 @@
  */
 package org.apache.iceberg.rest.auth;
 
-import java.util.List;
-import java.util.concurrent.Future;
 import java.util.concurrent.ScheduledExecutorService;
-import java.util.concurrent.TimeUnit;
 import javax.annotation.Nullable;
 import org.apache.iceberg.util.ThreadPools;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 /**
- * An {@link AuthManager} that provides machinery for refreshing 
authentication data asynchronously,
- * using a background thread pool.
+ * @deprecated since 1.9.0, will be removed in 1.10.0; use {@link 
ThreadPools#getAuthRefreshPool()}.
  */
+@Deprecated

Review Comment:
   in fact I believe we should only be deprecating this here without updating 
the functionality (as that would be a breaking change). Once 
`RefreshingAuthManager` is removed, we can switch the `OAuth2Manager` to use 
the new auth refresh pool, but I don't think we can deprecate + switch within 
the same release



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to