Skip to content

Conversation

@see-quick
Copy link
Contributor

@see-quick see-quick commented Oct 9, 2025

This PR implements include push internal by introducing a new
ClientTelemetryExporter API. More details can be found in the KIP [1].

[1] -
https://cwiki.apache.org/confluence/display/KAFKA/KIP-1217%3A+Include+push+interval+in+ClientTelemetryReceiver+context

@github-actions github-actions bot added triage PRs from the community core Kafka Broker clients labels Oct 9, 2025
@github-actions github-actions bot removed the triage PRs from the community label Oct 10, 2025
@see-quick see-quick marked this pull request as ready for review October 10, 2025 11:51
Copy link
Member

@mimaison mimaison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. I've made a first pass and left a few suggestions.

Copy link
Member

@AndrewJSchofield AndrewJSchofield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. I've done an initial review only so far.

@AndrewJSchofield AndrewJSchofield self-requested a review October 21, 2025 15:10
@AndrewJSchofield
Copy link
Member

@see-quick Please can you merge latest changes from trunk into your branch. The failing test has been marked as flaky and your build should pass.

Copy link
Member

@mimaison mimaison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates, I made another pass and left a few comments.

Copy link
Member

@mimaison mimaison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates. Should we also update ClientTelemetryTest and KafkaStreamsTelemetryIntegrationTest to use the new (or maybe both) APIs?

Copy link
Member

@AndrewJSchofield AndrewJSchofield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have just one nit comment remaining. Apart from that, looks good to me.

@see-quick
Copy link
Contributor Author

The failing test is not related to this PR more [1].

[1] - https://issues.apache.org/jira/browse/KAFKA-19840

Copy link
Member

@AndrewJSchofield AndrewJSchofield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. Looks good from my point of view.

Copy link
Member

@mimaison mimaison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm really not sure the extensive changes made to KafkaStreamsTelemetryIntegrationTest are worth it. The new tests don't seem to be actually testing the new features from KIP-1217.

Copy link
Member

@mimaison mimaison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mimaison
Copy link
Member

mimaison commented Nov 4, 2025

The test failures in ShareConsumerTest > testShareGroupMaxSizeConfigExceeded are covered in https://issues.apache.org/jira/browse/KAFKA-19840

@mimaison mimaison merged commit 680b871 into apache:trunk Nov 4, 2025
17 of 20 checks passed
false);
}

@SuppressWarnings("deprecation")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi all, this should be replaced with removal. I got below warnings when building kafka. fixed in #20830.

/Users/brandboat/Code/kafka/kafka/server/src/test/java/org/apache/kafka/server/metrics/ClientMetricsTestUtils.java:102: warning: [removal] ClientTelemetryReceiver in org.apache.kafka.server.telemetry has been deprecated and marked for removal
    public static class TestClientMetricsReceiver implements ClientTelemetryReceiver {
                                                             ^
/Users/brandboat/Code/kafka/kafka/server/src/test/java/org/apache/kafka/server/metrics/ClientMetricsTestUtils.java:130: warning: [removal] ClientTelemetry in org.apache.kafka.server.telemetry has been deprecated and marked for removal
    public static class TestDualImplementation implements ClientTelemetry, ClientTelemetryExporterProvider {
                                                          ^
/Users/brandboat/Code/kafka/kafka/server/src/test/java/org/apache/kafka/server/metrics/ClientMetricsTestUtils.java:140: warning: [removal] ClientTelemetryReceiver in org.apache.kafka.server.telemetry has been deprecated and marked for removal
        public ClientTelemetryReceiver clientReceiver() {
               ^
Suggested change
@SuppressWarnings("deprecation")
@SuppressWarnings("removal")

eduwercamacaro pushed a commit to littlehorse-enterprises/kafka that referenced this pull request Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants