Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix printing of final metrics #2545

Merged
merged 1 commit into from
Aug 3, 2023
Merged

Commits on Aug 2, 2023

  1. Fix printing of final metrics

    For short test runs `kafka-producer-performance` may not print any
    metrics at all. This is fixed by moving the final call to `printMetrics` just
    before closing the producer. Calling `printMetrics` after the producer
    is closed does nothing as the producer metrics are unregistered as part
    of the close.
    
    Signed-off-by: Adrian Preston <PRESTONA@uk.ibm.com>
    prestona committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    afaec9c View commit details
    Browse the repository at this point in the history