ijuma commented on a change in pull request #10675:
URL: https://github.com/apache/kafka/pull/10675#discussion_r630626735



##########
File path: 
clients/src/test/java/org/apache/kafka/clients/producer/MockProducerTest.java
##########
@@ -417,6 +417,7 @@ public void 
shouldPublishConsumerGroupOffsetsOnlyAfterCommitIfTransactionsAreEna
         assertEquals(Collections.singletonList(expectedResult), 
producer.consumerGroupOffsetsHistory());
     }
 
+    @SuppressWarnings("deprecation")
     @Test

Review comment:
       The suppression is only needed for cases where non deprecated code has 
to call deprecated code.




-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to