Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-11603

Port MetricQueryService to RpcEndpoint

    XMLWordPrintableJSON

    Details

      Description

      Given that a series TODO mention This is a temporary hack until we have ported the MetricQueryService to the new RpcEndpoint, I'd like to give it a try to implement the RpcEndpoint version of MetricQueryService.

      Basically, port onRecieve to
      1. addMetric(metricName, metric, group)
      2. removeMetric(metric)
      3. createDump()

      And then adjust tests and replace metricServiceQueryPath with a corresponding RpcGateway.

      I'd like to learn that if the statement if true — when we call a Runnable/Callable with runAsync/callAsync, then the Runnable/Callable is running in the main thread of the underlying RPC service, specifically, in the actor thread?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tison Zili Chen
                Reporter:
                tison Zili Chen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m