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

Kinesis connector docs should mention that FlinkKinesisConsumer does not provide strong ordering guarantees on resharding

    XMLWordPrintableJSON

Details

    Description

      Since the FlinkKinesisConsumer depends only on local information to determine whether or not a new shard due to resharding should be subscribed by a subtask, there is no coordination wrt parent-child shard relationship across subtasks.

      Therefore, FlinkKinesisConsumer does not provide any strong processing ordering guarantees.

      Take for example, if initially the assignment is:
      Subtask #1 --> Shard A
      Subtask #2 --> Shard B

      Assume A & B is merged to create shard C, and subtask #1 locally determines that it should be assigned shard C.

      Since Flink generally does not provide coordinating facilities between subtask instances, there is no means of coordinating that shard C is consumed only after shard B is also fully consumed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tzulitai Tzu-Li (Gordon) Tai
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: