dongjinleekr commented on code in PR #10826: URL: https://github.com/apache/kafka/pull/10826#discussion_r917105140
########## core/src/main/scala/kafka/log/LogConfig.scala: ########## @@ -177,6 +179,44 @@ case class LogConfig(props: java.util.Map[_, _], overriddenConfigs: Set[String] } ConfigUtils.configMapToRedactedString(overriddenTopicProps.asJava, configDef) } + + /** + * Returns per-codec [[CompressionConfig]] for given `compressionType`. + */ + private def getCompressionConfig(compressionType: CompressionType): CompressionConfig = { Review Comment: No, we can't trigger broker side recompression in these scenario since there is no field for compression level in `RecordBatch`. -- 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-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org