Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-20480

Methods from CheckpointedFunction interface in FlinkKafkaConsumerBase are set to final

    XMLWordPrintableJSON

Details

    Description

       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. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            ghostmickey lidesheng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: