kyuubi icon indicating copy to clipboard operation
kyuubi copied to clipboard

[FEATURE] Support Kafka Metrics Report in JsonReporterService

Open qingfei1994 opened this issue 1 year ago • 1 comments

Code of Conduct

Search before asking

  • [X] I have searched in the issues and found no similar issues.

Describe the feature

Support reporting metrics to Kafka topic in JsonReporterService

Motivation

Currently JsonReporterService only support sinking metrics to a file, which is not feasible for us to analyse metrics in realtime. So I think supporting sinking metrics to a kafka topic is neccessary.

Describe the solution

  1. New options for JsonReporterService to configure output option, such as "kyuubi.metrics.json.output", values could be file/kafka 2.New options for JsonReporterService kafka topic and kafka properties 3.In JsonReporterService, creating kafka producer and produce message to kafka according to the options

Additional context

No response

Are you willing to submit PR?

  • [X] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to improve.
  • [ ] No. I cannot submit a PR at this time.

qingfei1994 avatar Jun 04 '24 14:06 qingfei1994

Hello @qingfei1994, Thanks for finding the time to report the issue! We really appreciate the community's efforts to improve Apache Kyuubi.

github-actions[bot] avatar Jun 04 '24 14:06 github-actions[bot]