liunaijie commented on PR #7871: URL: https://github.com/apache/seatunnel/pull/7871#issuecomment-2475968853
>  When running tasks in a flow mode, an empty map array is returned, and a NullPointerException will occur at this location. > > It also needs to be adjusted to the following format. split.setEndOffset( latestOffsets.getOrDefault( split.getTopicPartition(), Long.MAX_VALUE)); Good catch, @Carl-Zhou-CN we also need update here. Or can we in streaming mode, not return an empty map, return the value with Long.MAX_VALUE? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@seatunnel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org