You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Kenneth Knowles (JIRA)" <ji...@apache.org> on 2016/12/21 19:27:58 UTC

[jira] [Created] (BEAM-1195) Give triggers URNs / JSON formats

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)