[STORM-3759] Additional Trident Kafka Spout Metrics

Open
#7,541 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java, kafka

Research direction

Start by locating the Trident Kafka Spout/Emitter and compare its metrics with the non-Trident Kafka spout, which reportedly has similar functionality. The work is complete when the Trident variant measures event emit rate and exposes Kafka Spout Max Lag to distinguish slow emission from delayed topic data.

Written by the indexing model from the issue text.

Description

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
Dominant language
Java
Stars
6.7k
Forks
4k
Avg merge
1d 5h
Merged PRs (30d)
86

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/storm

All issues in apache/storm

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.