[
https://issues.apache.org/jira/browse/FLINK-40137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sylwester Lachiewicz updated FLINK-40137:
-----------------------------------------
Description: The enumerator accumulated three interacting pieces of
recovery-gating state (initial registration pending, reported splits pending
redistribution, deferred metadata-update readers) inline, making the gating
semantics hard to follow and untestable without a full container-based test
setup. Extract this state and its logic into a dedicated ReaderRecoveryGate
class with its own unit tests. No behavior change. (was: ▎ The enumerator
accumulated three interacting pieces of recovery-gating state (initial
registration pending, reported splits pending redistribution, deferred
metadata-update readers) inline, making the gating semantics hard to follow and
untestable without a full container-based test setup. Extract this state and
its logic into a dedicated ReaderRecoveryCoordinator class with its own unit
tests. No behavior change.)
Summary: Extract ReaderRecoveryGate from DynamicKafkaSourceEnumerator
(was: Extract ReaderRecoveryCoordinator from DynamicKafkaSourceEnumerator)
> Extract ReaderRecoveryGate from DynamicKafkaSourceEnumerator
> ------------------------------------------------------------
>
> Key: FLINK-40137
> URL: https://issues.apache.org/jira/browse/FLINK-40137
> Project: Flink
> Issue Type: Improvement
> Components: Connectors / Kafka
> Reporter: Sylwester Lachiewicz
> Priority: Minor
> Labels: pull-request-available
>
> The enumerator accumulated three interacting pieces of recovery-gating state
> (initial registration pending, reported splits pending redistribution,
> deferred metadata-update readers) inline, making the gating semantics hard to
> follow and untestable without a full container-based test setup. Extract this
> state and its logic into a dedicated ReaderRecoveryGate class with its own
> unit tests. No behavior change.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)