Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-1195

Give triggers a cross-language serialization schema

Details

    • New Feature
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.0.0
    • beam-model
    • None

    Description

      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.

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

      Attachments

        Issue Links

          Activity

            People

              kenn Kenneth Knowles
              kenn Kenneth Knowles
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: