Re: Keyed watermarks: A fine-grained watermark generation for Apache Flink

2025-05-14 Thread Lasse Nedergaard
Hi I have talked with the community about this for many years last time at Flink forward 2024 in Berlin. The use case are simple. If you receive data from IoT devices over the gsm network. The clock on all the devices aren’t synchronised the IoT devices can buffer data to reduce the cost for

Re: Keyed watermarks: A fine-grained watermark generation for Apache Flink

2025-05-14 Thread Zhanghao Chen
Thanks for sharing! It is an interesting idea. The generalized watermark [1] introduced in DataStreamV2 might be sufficient to implement it. It'll be great if you could share more contexts on why this is useful in your pipelines. [1] https://cwiki.apache.org/confluence/display/FLINK/FLIP-467%3A

Keyed watermarks: A fine-grained watermark generation for Apache Flink

2025-05-14 Thread Мосин Николай
I found paper https://scholar.google.com/scholar?q=10.1016/j.future.2025.107796 where described Keyed Watermarks that is what I need in my pipelines. Does anyone know is it planned to implement Keyed Watermarks in Flink and when?

[no subject]

2025-05-14 Thread 王立壮
退订 王立壮 2720627...@qq.com

Re: Python based User defined function on Flink 1.19.1

2025-05-14 Thread George
Hi Nikola awesome, thank you, it worked,got the basic example to work, so can now try my solutions/code. G On Wed, May 14, 2025 at 3:52 PM George wrote: > Thanks. > > I would think this should rather be done up stream in the source image, > for that matter I would have expected for this packag

Re: Python based User defined function on Flink 1.19.1

2025-05-14 Thread George
Thanks. I would think this should rather be done up stream in the source image, for that matter I would have expected for this package to have been installed already as you can't really do allot onthe flink nodes with python without this package. G On Wed, May 14, 2025 at 3:33 PM Nikola Milutino

Re: Python based User defined function on Flink 1.19.1

2025-05-14 Thread Nikola Milutinovic
Hmm, lemme see… Oh, yes, we also had to link Python bin: ldconfig /usr/lib ln -s /usr/bin/python3 /usr/bin/python Classic trickery. Nix, From: George Date: Wednesday, May 14, 2025 at 1:09 PM To: Nikola Milutinovic , user@flink.apache.org Subject: Re: Python based User defined function on Fl

Re: Python based User defined function on Flink 1.19.1

2025-05-14 Thread George
Hi there Got it build :) I installed python3-pip in addition to the java - headless version, then installed the package globally and then did the clean up. I am however getting the below now. it seems to be looking for python from the flink side and not python3 ``` flink@jobmanager:/sql/prompus

Re: Python based User defined function on Flink 1.19.1

2025-05-14 Thread George
Hi Nikola Correct on the assumption that I'm working on ARM, MBP M1. So ye i can add the -headless to my image build. The pip install it's in a total different phase though, don't install the packages ... currently as part of the base image, but might need to move it. let me have a look. will ad

Re: Python based User defined function on Flink 1.19.1

2025-05-14 Thread Nikola Milutinovic
Hi George. We saw the same problem, running Apache Flink 1.19 and 1.20 images. The cause is that Flink image provides a JRE and you need JDK to build/install PyFlink. And, oddly enough, I think it was only on ARM64 images. Amd64 was OK, I think. So, Mac M1, M2, M3… Our Docker file for building

Python based User defined function on Flink 1.19.1

2025-05-14 Thread George
Hi all My Flink Jobmanager and Taskmanager is based on the community 1.19.1 on the Java 17 image. I've extended this by installing Python 3.11 and python3.11-venv. created my venv environment, activated it, when trying to pip install apache-flink. I first got an error saying /opt/java/openjdk/in