panbingkun commented on code in PR #47540: URL: https://github.com/apache/spark/pull/47540#discussion_r1697963622
########## connector/kafka-0-10-sql/src/test/scala/org/apache/spark/sql/kafka010/KafkaTestUtils.scala: ########## @@ -447,8 +449,9 @@ class KafkaTestUtils( sendMessages(msgs.toImmutableArraySeq) } + private val cleanupLogsPrivateMethod = PrivateMethod[LogManager](Symbol("cleanupLogs")) def cleanupLogs(): Unit = { Review Comment: In v3.8.0, the access modifier of method `cleanupLogs` has been changed to `private` - v3.7.1 https://github.com/apache/kafka/blob/3.7.1/core/src/main/scala/kafka/log/LogManager.scala#L1390 <img width="594" alt="image" src="https://github.com/user-attachments/assets/43c1ae2b-8e1f-4205-99e9-585a5e71485d"> - v3.8.0 https://github.com/apache/kafka/blob/3.8.0/core/src/main/scala/kafka/log/LogManager.scala#L1395 <img width="596" alt="image" src="https://github.com/user-attachments/assets/5735612b-73db-4334-b7ed-6a50e1095896"> -- 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