Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).

Motivation

The kafka-consumer-perf-test  tool is a great tool to for quickly check assessing raw consumer performance. Currently, It it subscribes to all the partitions and gives overall cluster performance, however If we want to test performance of single broker/partition, existing tool does not support. Single partition performance test is helpful in debugging and capacity/resource estimates.provides an overview of the entire cluster's performance. However, the tool does not support testing the performance of a single broker or partition. Introducing this capability would be highly beneficial for debugging and estimating capacity and resource requirements.

In a real-world scenario, our production environment encountered an issue where a Spark Structured Streaming consumer was experiencing lag. This lag was due to some tasks taking longer to complete. Despite all tasks reading from different partitions with an equal number of records to process, the fetch-time for some partitions was noticeably higher than for others. By modifying the For example, In one of the troubleshooting scenario on production we observed that our Spark Structured Streaming consumer was lagging because some of the tasks were taking longer. We observed that all tasks were reading from different partitions and amount of records to process were equal. However, fetch-time for some of the partitions were higher than the others. With modified kafka-consumer-perf-test tool to test individual partitions, we were able to confirm isolate the same and we narrowed down problem to a single broker having with a faulty switch. 

This modification allowed provided the Hardware team to easily perform with a straightforward method to conduct experiments and verify the resolutionresolutions, ultimately streamlining the troubleshooting process and ensuring smoother operations.

Public Interfaces

Briefly list any new interfaces that will be introduced as part of this proposal or any existing interfaces that will be removed or changed. The purpose of this section is to concisely call out the public contract that will come along with this feature.

...