Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
Description
The KafkaSourceFetcherManager.commitOffsets() may throw NPE when there is no split fetcher. Given that such cases should usually be rare and only happens when the source is shutting down or just started. We can create a new KafkaPartitionSplitReader to commit offset and close it immediately. The main thread maybe blocked for some time, but given that there is no event to process at that point, there should be no performance concerns.
Attachments
Issue Links
- blocks
-
FLINK-20157 SourceCoordinatorProvider kills JobManager with IllegalStateException on job submission
- Closed
-
FLINK-20114 Fix a few KafkaSource-related bugs
- Closed
- links to