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] [Commented] (BEAM-1195) Give triggers URNs / JSON formats
Date Mon, 13 Feb 2017 04:15:42 GMT

    [ https://issues.apache.org/jira/browse/BEAM-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15863188#comment-15863188
] 

Kenneth Knowles commented on BEAM-1195:
---------------------------------------

Instead, they will be directly represented in a proto schema.

> 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.15#6346)

Mime
View raw message