Hi Alex, I think that logic is in IngressWebServer[1] and EgressWebServer[2].
Best, Jiabao [1] https://github.com/apache/flink-statefun-playground/blob/5b52061784626c8685ab33e172e4471840ce5ee1/playground-internal/statefun-playground-entrypoint/src/main/java/org/apache/flink/statefun/playground/internal/io/flink/IngressWebServer.java#L18 [2] https://github.com/apache/flink-statefun-playground/blob/5b52061784626c8685ab33e172e4471840ce5ee1/playground-internal/statefun-playground-entrypoint/src/main/java/org/apache/flink/statefun/playground/internal/io/flink/EgressWebServer.java#L30 On 2024/01/19 09:50:21 Alexandre LANGUILLAT wrote: > 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 <ji...@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 >