[
https://issues.apache.org/jira/browse/BEAM-10816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexey Romanenko updated BEAM-10816:
------------------------------------
Resolution: Fixed
Status: Resolved (was: Resolved)
> Not possible to implement own RateLimitPolicy
> ---------------------------------------------
>
> Key: BEAM-10816
> URL: https://issues.apache.org/jira/browse/BEAM-10816
> Project: Beam
> Issue Type: Bug
> Components: io-java-kinesis
> Affects Versions: 2.23.0
> Reporter: Sebastian Graca
> Assignee: Alexey Romanenko
> Priority: P2
> Fix For: 2.25.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> It's not possible to provide custom implementation of {{RateLimitPolicy}}
> because {{KinesisClientThrottledException}} class which is the type of the
> parameter of {{onThrottle}} method is package private.
> This makes it impossible to implement {{onThrottle}} method outside of
> {{org.apache.beam.sdk.io.kinesis}} package.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)