PatrickRen commented on pull request #14531: URL: https://github.com/apache/flink/pull/14531#issuecomment-754512467
@xiaoHoly What about `instanceof NoStoppingOffsetInitializer`? It is indeed possible that a user provides a custom `OffsetsInitializer` which is semantically equivalent to `NoStoppingOffsetInitializer`, but I think this is a kind of misuse, since the purpose of `setUnbounded` method is to provide a set of offsets so that the stream could stop there. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org