dongjoon-hyun commented on code in PR #47540:
URL: https://github.com/apache/spark/pull/47540#discussion_r1697957597
##########
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 = {
- server.logManager.cleanupLogs()
+ server.logManager.invokePrivate(cleanupLogsPrivateMethod())
Review Comment:
It seems that Kafka community changed this without the official KAFKA issue.
- https://github.com/apache/kafka/pull/15252
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]