Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-1312

Add Control Messages and Intermediate Stream Serde

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      The format of the intermediate stream message:

      • IntermediateMessage => [MessageType MessageData]
        • MessageType => byte
        • MessageData => byte[]
      • MessageType => [0(UserMessage), 1(Watermark), 2(EndOfStream)]
      • MessageData => [UserMessage/ControlMessage]
      • ControlMessage =>
        • Type => int
        • Version => int
        • Other Message Data (based on different types of control message)

      For user message, we will use the user provided serde (default is the system serde). For control message, we will use JSON serde since it is built in Samza and easy to parse.

      Attachments

        Issue Links

          Activity

            People

              xinyu Xinyu Liu
              xinyu Xinyu Liu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: