Thanks Sun I use now the 3.2 version and it works as described in the README tutorial! I don't see in the code where the port redirection is handled tho, eg 8090 for PUT and 8091 for GET (they are in the module.yaml but dont see where in Python it's handled).
Bests, Alex Le ven. 19 janv. 2024 à 02:44, Jiabao Sun <jiabao....@xtransfer.cn> a écrit : > Hi Alexandre, > > I couldn't find the image apache/flink-statefun-playground:3.3.0-1.0 in > Docker Hub. > You can temporarily use the release-3.2 version. > > Hi Martijn, did we ignore pushing it to the docker registry? > > Best, > Jiabao > > [1] https://hub.docker.com/r/apache/flink-statefun-playground/tags > > On 2024/01/18 17:09:20 Alexandre LANGUILLAT wrote: > > Hi, > > > > I am trying to run the example provided here: > > > https://github.com/apache/flink-statefun-playground/tree/release-3.3/python/greeter > > > > 1 - Following the read.me, with docker (that I installed): > > > > "docker-compose build" works well. But "docker-compose up" returns an > error: > > > > [image: image.png] > > > > 2 - Without docker, having a virtual env with apache-flink-statefun and > > aiohttp installed, I ran "python functions.py" but I the server runs on > > port 8000 according to the script and I dont know how the request in curl > > (or postman) would work since it calls port 8090... : > > > > curl -X PUT -H "Content-Type: application/vnd.example/GreetRequest" -d > > '{"name": "Bob"}' localhost:8090/example/person/Bob > > > > > > I wonder what I have to configure additionaly? I owuld be keen to run it > > without docker actually, to understand how it works under the hood. > > > > Bests > > > > -- > > Alexandre > > -- Alexandre Languillat