dongjoon-hyun commented on code in PR #47540: URL: https://github.com/apache/spark/pull/47540#discussion_r1697962560
########## connector/kafka-0-10/src/test/scala/org/apache/spark/streaming/kafka010/KafkaRDDSuite.scala: ########## @@ -117,7 +118,7 @@ class KafkaRDDSuite extends SparkFunSuite { ) messages.foreach { case (k, v) => val record = new SimpleRecord(k.getBytes, v.getBytes) - log.appendAsLeader(MemoryRecords.withRecords(CompressionType.NONE, record), 0); + log.appendAsLeader(MemoryRecords.withRecords(Compression.NONE, Seq(record): _*), 0); Review Comment: This is a new feature of Kafka 3.8.0 (KAFKA-7632, KIP-390). - https://github.com/apache/kafka/pull/15516 -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org