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 2017/03/23 04:48:41 UTC
[jira] [Resolved] (BEAM-1195) Give triggers a cross-language
serialization schema
[ https://issues.apache.org/jira/browse/BEAM-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kenneth Knowles resolved BEAM-1195.
-----------------------------------
Resolution: Fixed
Fix Version/s: First stable release
The Runner API proto does this.
> Give triggers a cross-language serialization schema
> ---------------------------------------------------
>
> 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
> Fix For: First stable release
>
>
> 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)