leonardBang commented on code in PR #27134:
URL: https://github.com/apache/flink/pull/27134#discussion_r2476750158


##########
flink-core/src/main/java/org/apache/flink/api/connector/source/util/ratelimit/RateLimiter.java:
##########
@@ -27,14 +27,25 @@
 /** The interface to rate limit execution of methods. */
 @NotThreadSafe
 @Experimental
-public interface RateLimiter {
+public interface RateLimiter<S> {

Review Comment:
   I saw the definition `private final RateLimiter<SplitT> rateLimiter;` in 
SourceReaderBase, what's meaning of generic type `<S>`? and this is a breaking 
change from `RateLimiter` to `RateLimiter<S>`,  I think we should follow the 
FLIP design.



-- 
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]

Reply via email to