opensource4you / astraea

釋放kafka的無限潛能
Apache License 2.0
125 stars 45 forks source link

[METRICS] MetricStore 建立流程共用 #1800

Open chinghongfang opened 1 year ago

chinghongfang commented 1 year ago

origin https://github.com/skiptests/astraea/pull/1796#discussion_r1210854071

MetricStore 是我們用來獲取效能指標的物件,有使用於 web service, partitioner, assignor,而這三個元件在建立 MetricStore 物件的時候會有許多共通的程式碼 (partitioner, web service),也許可以提出相同的部分,簡化程式碼。