You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jeremy Mei (Jira)" <ji...@apache.org> on 2020/12/28 03:29:00 UTC

[jira] [Updated] (FLINK-20778) [FLINK-20778] the comment for the type of kafka consumer is wrong at KafkaPartitionSplit

     [ https://issues.apache.org/jira/browse/FLINK-20778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Mei updated FLINK-20778:
-------------------------------
    Summary: [FLINK-20778] the comment for the type of kafka consumer  is wrong at KafkaPartitionSplit  (was: the comment for kafka split offset type is wrong)

> [FLINK-20778] the comment for the type of kafka consumer  is wrong at KafkaPartitionSplit
> -----------------------------------------------------------------------------------------
>
>                 Key: FLINK-20778
>                 URL: https://issues.apache.org/jira/browse/FLINK-20778
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / Kafka
>            Reporter: Jeremy Mei
>            Priority: Major
>         Attachments: Screen Capture_select-area_20201228011944.png
>
>
> the current code:
> {code:java}
> 	// Indicating the split should consume from the earliest.
> 	public static final long LATEST_OFFSET = -1;
> 	// Indicating the split should consume from the latest.
> 	public static final long EARLIEST_OFFSET = -2;
> {code}
> should be adjusted as blew
> {code:java}
> 	// Indicating the split should consume from the latest.
> 	public static final long LATEST_OFFSET = -1;
> 	// Indicating the split should consume from the earliest.
> 	public static final long EARLIEST_OFFSET = -2;
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)