Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-10933

Wrap Sink Message in Protobuf

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 24.0.0
    • Fix Version/s: 24.0.0
    • Component/s: Minion
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - April 10th 2019

      Description

      Sink messages that are being sent from Minion to OpenNMS/Sentinel are marshalled into xml string and then sent this as byte array. 

      For adding Tracing info and for converting a large sink message into chunks, we need to add more metadata into sink message at the client level.

      For this Sink message needs to be wrapped into protobuf format.

      message TracingInfo

      { required string key = 1; required string value = 2; }

      message SinkMessage

      { required string message_id = 1; required bytes  content = 2; optional int32 current_chunk_number = 5; optional int32 total_chunks = 6; repeated TracingInfo tracing_info = 7; }

        Attachments

          Activity

            People

            • Assignee:
              cgorantla Chandra Gorantla
              Reporter:
              cgorantla Chandra Gorantla
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: