You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/07/22 16:43:57 UTC
[GitHub] [kafka] ijuma commented on a change in pull request #11108: KAFKA-13116: Fix message_format_change_test and compatibility_test_new_broker_test failures
ijuma commented on a change in pull request #11108:
URL: https://github.com/apache/kafka/pull/11108#discussion_r674978912
##########
File path: core/src/main/scala/kafka/server/KafkaApis.scala
##########
@@ -785,7 +785,7 @@ class KafkaApis(val requestChannel: RequestChannel,
Some(RecordBatch.MAGIC_VALUE_V1)
else
None
- }
+ }.filter(_ => unconvertedRecords.batchIterator.hasNext)
Review comment:
That code is deprecated for removal and it has been this way for years, is it worth it?
--
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