[ https://issues.apache.org/jira/browse/FLINK-21661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Danny Cranmer updated FLINK-21661: ---------------------------------- Fix Version/s: 1.12.3 1.13.0 > SHARD_GETRECORDS_INTERVAL_MILLIS wrong use? > -------------------------------------------- > > Key: FLINK-21661 > URL: https://issues.apache.org/jira/browse/FLINK-21661 > Project: Flink > Issue Type: Bug > Components: Connectors / Kinesis > Affects Versions: 1.12.2 > Reporter: jiamo > Assignee: Danny Cranmer > Priority: Critical > Fix For: 1.13.0, 1.12.3 > > > kinesis `SHARD_GETRECORDS_INTERVAL_MILLIS` > mean between normal getRecords sleep. > But at end . The value was used in exception. > {code:java} > > // sleep for the fetch interval before the next getRecords attempt with the > // refreshed iterator > if (expiredIteratorBackoffMillis != 0) { > Thread.sleep(expiredIteratorBackoffMillis); > } > {code} > > > {code:java} > return new PollingRecordPublisher( > startingPosition, > streamShardHandle, > metricsReporter, > kinesisProxy, > configuration.getMaxNumberOfRecordsPerFetch(), > configuration.getFetchIntervalMillis()); > {code} > But the last arg was *expiredIteratorBackoffMillis.* > > Is this a problem? > > > > > -- This message was sent by Atlassian Jira (v8.3.4#803005)