You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/11/01 00:13:00 UTC
[GitHub] [flink-statefun] galenwarren commented on pull request #319: [FLINK-29814][statefun] Change supported Flink version to 1.15.2
galenwarren commented on PR #319:
URL: https://github.com/apache/flink-statefun/pull/319#issuecomment-1297841266
OK, I got it working. I sent five messages and got what look like the expected replies:
```
(base) galen@galen-ubuntu-20:~/projects/git/coachclientconnect$ curl -X PUT -H "Content-Type: application/vnd.greeter.types/UserLogin" -d '{"user_id": "1", "user_name": "Joe", "login_type": "WEB"}' localhost:8090/greeter.fns/user/1
(base) galen@galen-ubuntu-20:~/projects/git/coachclientconnect$ curl -X GET localhost:8091/greetings
Welcome Joe!(base) galen@galen-ubuntu-20:~/projects/git/coachclientconnect$ curl -X PUT -H "Content-Type: application/vnd.greeter.types/UserLogin" -d '{"user_id": "1", "user_name": "Joe", "login_type": "WEB"}' localhost:8090/greeter.fns/user/1
(base) galen@galen-ubuntu-20:~/projects/git/coachclientconnect$ curl -X GET localhost:8091/greetings
Nice to see you again Joe.(base) galen@galen-ubuntu-20:~/projects/git/coachclientconnect$ curl -X PUT -H "Content-Type: application/vnd.greeter.types/UserLogin" -d '{"user_id": "1", "user_name": "Joe", "login_type": "WEB"}' localhost:8090/greeter.fns/user/1
(base) galen@galen-ubuntu-20:~/projects/git/coachclientconnect$ curl -X GET localhost:8091/greetings
Third time is a charm Joe!(base) galen@galen-ubuntu-20:~/projects/git/coachclientconnect$ curl -X PUT -H "Content-Type: application/vnd.greeter.types/UserLogin" -d '{"user_id": "1", "user_name": "Joe", "login_type": "WEB"}' localhost:8090/greeter.fns/user/1
(base) galen@galen-ubuntu-20:~/projects/git/coachclientconnect$ curl -X GET localhost:8091/greetings
Nice to see you for the 4th time, Joe! It has been 93593 milliseconds since we last saw you.(base) galen@galen-ubuntu-20:~/projects/git/coachclientconnect$ curl -X PUT -H "Content-Type: application/vnd.greeter.types/UserLogin" -d '{"user_id": "1", "user_name": "Joe", "login_type": "WEB"}' localhost:8090/greeter.fns/user/1
(base) galen@galen-ubuntu-20:~/projects/git/coachclientconnect$ curl -X GET localhost:8091/greetings
Nice to see you for the 5th time, Joe! It has been 7917 milliseconds since we last saw you.(base) galen@galen-ubuntu-20:~/projects/git/coachclientconnect$ [<35;39;50M[<35;24;40M[<35;13;35M```
--
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.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org