[
https://issues.apache.org/jira/browse/FLINK-20480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-20480:
-----------------------------------
Labels: auto-deprioritized-major auto-deprioritized-minor (was:
auto-deprioritized-major stale-minor)
Priority: Not a Priority (was: Minor)
This issue was labeled "stale-minor" 7 days ago and has not received any
updates so it is being deprioritized. If this ticket is actually Minor, please
raise the priority and ask a committer to assign you the issue or revive the
public discussion.
> Methods from CheckpointedFunction interface in FlinkKafkaConsumerBase are set
> to final
> --------------------------------------------------------------------------------------
>
> Key: FLINK-20480
> URL: https://issues.apache.org/jira/browse/FLINK-20480
> Project: Flink
> Issue Type: Improvement
> Components: Connectors / Kafka
> Environment: Flink 1.11
> Reporter: lidesheng
> Priority: Not a Priority
> Labels: auto-deprioritized-major, auto-deprioritized-minor
>
> I created a subclass from FlinkKafkaConsumerBase and wanna add some logic in
> checkpoint snapshot. I failed to do it because methods from
> CheckpointedFunction interface in FlinkKafkaConsumerBase are set to final.
> understand that these methods are set to final because offsets are required
> to hold and commit, so they do not want to be overridden by subclasses. Can
> we provide an additional abstract method to provide subclasses for their own
> state related operations? Call it in then end of final method default logic
> is emtpy.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)