[STORM-3759] Additional Trident Kafka Spout Metrics

オープン
#7,541 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java, kafka

調査の方向性

まず Trident Kafka Spout/Emitter を見つけ、そのメトリクスを、同様の機能を持つと報告されている非 Trident の Kafka spout と比較します。Trident 版がイベントの発行レートを計測し、遅い発行と遅延した topic データを区別するために Kafka Spout Max Lag を公開すれば、作業は完了です。

索引モデルが issue の本文から書いたものです。

説明

imported-jira-issue rfe

The Trident Kafka Spout/Emitter does not seem to measure a couple metrics that my team has found useful over the years using the spout.

Event emit rate
Having a count of how many events are being emitted by the spout can track the rate at which the spout is consuming from the kafka topic(s). If this rate decreases, it signals performance issues to investigate.  This metric has helped my team track the overall health of our Kafka spouts.

Kafka Spout Max Lag
This gauge value monitors the backlog of events.  It helps determine if:

  • a. the spout is not emitting fast enough to keep up with the incoming data, or
  • b. the spout is current and Kafka topic delayed.

This metric can be used to distinguish between these two cases and determine the source of the slowdown.  It has helped my team better understand delays.  The non-Trident variant of the Kafka spout seems to have something similar.


Originally reported by jmpoholarz, imported from: Additional Trident Kafka Spout Metrics
  • status: Open
  • priority: Major
  • resolution: Unresolved
  • imported: 2025-01-24
主要言語
Java
スター
6.7k
フォーク
4k
平均マージ
1日 5時間
マージ済み PR(30日)
86

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/storm のほかの issue

apache/storm の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。