Uploaded image for project: 'Metron (Retired)'
  1. Metron (Retired)
  2. METRON-1162

Apply Live Messages to the Profile Debugger

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Done
    • Major
    • Resolution: Done
    • 0.4.0
    • 0.4.1
    • None

    Description

      I want to be able to use `PROFILER_APPLY` with live messages from a Metron cluster. For example, I would like to be able to grab 10 messages from Kafka and then apply them to my debugger. This would be tremendously helpful for iterating between the debugger and a live cluster when troubleshooting.

      p := PROFILER_INIT(conf)
      msgs := KAFKA_GET("indexing", 10)
      PROFILER_APPLY(msgs, p)
      PROFILER_FLUSH(p)
      

      The `PROFILER_APPLY` function does not currently accept a list of messages. It accepts a String that is a JSON list, but not a Stellar list. For `PROFILER_APPLY` to play happy with `KAFKA_GET` (and other potential uses) it needs to accept a List.

      Attachments

        Issue Links

          Activity

            People

              nickwallen Nick Allen
              nickwallen Nick Allen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: