Hi,
I have an implementation of a custom source, which uses StreamSourceContexts.getSourceContext (https://github.com/apache/flink/blob/master/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/StreamSourceContexts.java#L46) which has a checkpointLock argument that's used for watermark emission and possibly additional work. Flink 1.10 marks StreamTask.getCheckpointLock as deprecated and points to using YieldingOperatorFactory instead. Question is, with the above method now being deprecated, which object should we pass to getSourceContext for the required checkpointLock? Best Regards, Yuval Itzchakov. |
One thing that had just occurred to me is that the context is later used to emit watermarks and send elements downstream using ctx.collect. Perhaps all these operations should now be switched to the new mailbox executor instead? On Thu, Apr 9, 2020 at 8:52 PM Yuval Itzchakov <[hidden email]> wrote:
Best Regards, Yuval Itzchakov. |
Hi Yuval, sorry for the late response on the mailing list. I'm assuming your stackoverflow post is referring to the same question and would just cross-reference it here. [1] On Thu, Apr 9, 2020 at 7:56 PM Yuval Itzchakov <[hidden email]> wrote:
-- Arvid Heise | Senior Java Developer Follow us @VervericaData -- Join Flink Forward - The Apache Flink Conference Stream Processing | Event Driven | Real Time -- Ververica GmbH | Invalidenstrasse 115, 10115 Berlin, Germany -- Ververica GmbHRegistered at Amtsgericht Charlottenburg: HRB 158244 B Managing Directors: Timothy Alexander Steinert, Yip Park Tung Jason, Ji (Toni) Cheng |
Free forum by Nabble | Edit this page |