You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Till Rohrmann (Jira)" <ji...@apache.org> on 2022/02/15 10:38:00 UTC

[jira] [Created] (FLINK-26155) Add playground ingress/egress for cURL interaction

Till Rohrmann created FLINK-26155:
-------------------------------------

             Summary: Add playground ingress/egress for cURL interaction
                 Key: FLINK-26155
                 URL: https://issues.apache.org/jira/browse/FLINK-26155
             Project: Flink
          Issue Type: Improvement
          Components: Stateful Functions
            Reporter: Till Rohrmann
            Assignee: Till Rohrmann


In order to give a better playground experience we could add a special playground ingress/egress that supports easy to use cURL interaction (ingesting new messages and consuming produced messages).

Ingesting new message could look like:

{code}
curl -X PUT -H "Content-Type: application/vnd.<TYPE_URL>" -d '<DATA>' localhost:8090/<NAMESPACE>/<FUNCTION>/<ID>
{code}

Consuming could look like:

{code}
curl -X GET localhost:8091/<TOPIC>
{code}

The ingress/egress are not meant to be production ready and only support the use cases of the playground.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)