beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kenneth Knowles (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BEAM-1195) Give triggers URNs / JSON formats
Date Wed, 21 Dec 2016 19:27:58 GMT
Kenneth Knowles created BEAM-1195:
-------------------------------------

             Summary: Give triggers URNs / JSON formats
                 Key: BEAM-1195
                 URL: https://issues.apache.org/jira/browse/BEAM-1195
             Project: Beam
          Issue Type: New Feature
          Components: beam-model-runner-api
            Reporter: Kenneth Knowles
            Assignee: Kenneth Knowles


We have recently gotten to the point where triggers are just syntax, but it is still shipped
via Java serialization. To make it language-independent, we need a concrete syntax.

Something like the following is fairly concise, tag adjacent to payload. I haven't bothered
making up fully verbose/namespaced URNs here.

{code}
{
    "$urn": "OrFinally",
    "main": {
      "$urn": "EndOfWindow",
      "early": <foo>
    },
    "finally": {
      "$urn": "AfterCount",
      "count": 45
    }
}
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message