You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ColtenOuO (via GitHub) via jira" <ji...@kafka.apache.org> on 2026/10/30 22:34:46 UTC
[PR] MINOR: Suppress removal warning in AdminClientTimeoutIntegrationTest [kafka]
ColtenOuO opened a new pull request, #24046:
URL: https://github.com/apache/kafka/pull/24046
`testListClientMetricsResourcesTimeoutMs` intentionally calls `Admin#listClientMetricsResources`, which is marked
`@Deprecated(forRemoval = true)`, so javac reports a `[removal]` warning on CI.
Add `@SuppressWarnings("removal")` to the test method; the replacement API is already covered by `testListConfigResourcesTimeoutMs`.
### Before
<img width="1561" height="185" alt="image" src="https://github.com/user-attachments/assets/aacb62c2-f279-483b-ac10-38beb845c26b" />
### After
<img width="1579" height="129" alt="image" src="https://github.com/user-attachments/assets/08989a5f-bc60-480e-8b03-0c2ce820a4e5" />
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: Suppress removal warning in AdminClientTimeoutIntegrationTest [kafka]
Posted by "chia7712 (via GitHub) via jira" <ji...@kafka.apache.org>.
chia7712 commented on code in PR #24046:
URL: https://github.com/apache/kafka/pull/24046#discussion_r4433723984
##########
clients/clients-integration-tests/src/test/java/org/apache/kafka/clients/admin/AdminClientTimeoutIntegrationTest.java:
##########
@@ -209,6 +209,7 @@ public void testMinimumRequestTimeouts() {
}
}
+ @SuppressWarnings("removal")
Review Comment:
Would you mind adding `deprecation` as well?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org