[
https://issues.apache.org/jira/browse/FLINK-38747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18151171#comment-18151171
]
Tomer Z commented on FLINK-38747:
---------------------------------
[~kunni] [~leonard] I saw this was merged to 2.3.0, could it also be backported
to release-2.2? Connectors that build against 2.2 can't use
\{{RateLimiterStrategy}} from their \{{@PublicEvolving}} API:
flink-connector-kafka's ArchUnit rule only allows
\{{@Public}}/\{{@PublicEvolving}} Flink types, and its main branch builds
against 2.2.1. That blocks wiring FLIP-535 into \{{KafkaSource}} (FLINK-18740).
The commit only changes annotations, so it cherry-picks cleanly. Happy to open
the backport PR.
> Modify the annotation of RateLimiterStrategy/RateLimiter to @PublicEvolving
> ---------------------------------------------------------------------------
>
> Key: FLINK-38747
> URL: https://issues.apache.org/jira/browse/FLINK-38747
> Project: Flink
> Issue Type: Sub-task
> Components: API / Core
> Affects Versions: 2.2.0
> Reporter: Yanquan Lv
> Assignee: Yanquan Lv
> Priority: Minor
> Labels: pull-request-available
>
> In
> [FLIP-535|https://cwiki.apache.org/confluence/display/FLINK/FLIP-535%3A+Introduce+RateLimiter+to+Source],
> we added a constructor containing the {{RateLimiterStrategy}} interface and
> a member variable of type {{RateLimiter}} to {{{}SourceReaderBase in
> https://github.com/apache/flink/pull/27134{}}}.
> Since {{SourceReaderBase}} is a class annotated with {{{}@PublicEvolving{}}},
> we consequently need to update the
> {{{}RateLimiterStrategy{}}}/{{{}RateLimiter{}}} interface to be
> {{@PublicEvolving}} as well.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)