m1a2st commented on code in PR #19371:
URL: https://github.com/apache/kafka/pull/19371#discussion_r2106061094
##########
core/src/test/scala/kafka/raft/KafkaMetadataLogTest.scala:
##########
@@ -1166,4 +1161,25 @@ object KafkaMetadataLogTest {
}
dir
}
+
+ private def createMetadataLogConfig(
+ internalLogSegmentBytes: Int,
+ logSegmentMillis: Long,
+ retentionMaxBytes: Long,
+ retentionMillis: Long,
+ internalMaxBatchSizeInBytes: Int,
+ internalMaxFetchSizeInBytes: Int,
+ internalDeleteDelayMillis: Long
+ ): MetadataLogConfig = {
+ val config: util.Map[String, Any] = util.Map.of(
Review Comment:
We need to explicitly declare entries as `Any`, otherwise the compiler will
infer it as `long`, which would cause errors when parsing the config.
--
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]