rich-c-shop commented on code in PR #17099: URL: https://github.com/apache/kafka/pull/17099#discussion_r1747034130
########## clients/src/test/java/org/apache/kafka/clients/producer/KafkaProducerTest.java: ########## @@ -2397,7 +2399,12 @@ public ProducerRecord<byte[], byte[]> onSend(ProducerRecord<byte[], byte[]> reco } @Override - public void onAcknowledgement(RecordMetadata metadata, Exception exception) { + public void onAcknowledgement(RecordMetadata metadata, Exception exception, Headers headers) { + if (!(headers instanceof RecordHeaders)) { Review Comment: removed at 988c09f481 -- 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-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org