OmniaGM commented on code in PR #15158: URL: https://github.com/apache/kafka/pull/15158#discussion_r1446231096
########## core/src/main/scala/kafka/coordinator/group/GroupCoordinator.scala: ########## @@ -1751,17 +1752,17 @@ object GroupCoordinator { GroupCoordinator(config, replicaManager, heartbeatPurgatory, rebalancePurgatory, time, metrics) } - private[group] def offsetConfig(config: KafkaConfig) = OffsetConfig( - maxMetadataSize = config.offsetMetadataMaxSize, - loadBufferSize = config.offsetsLoadBufferSize, - offsetsRetentionMs = config.offsetsRetentionMinutes * 60L * 1000L, - offsetsRetentionCheckIntervalMs = config.offsetsRetentionCheckIntervalMs, - offsetsTopicNumPartitions = config.offsetsTopicPartitions, - offsetsTopicSegmentBytes = config.offsetsTopicSegmentBytes, - offsetsTopicReplicationFactor = config.offsetsTopicReplicationFactor, - offsetsTopicCompressionType = config.offsetsTopicCompressionType, - offsetCommitTimeoutMs = config.offsetCommitTimeoutMs, - offsetCommitRequiredAcks = config.offsetCommitRequiredAcks + private[group] def offsetConfig(config: KafkaConfig) = new OffsetConfig( Review Comment: Defaults depends on `OffsetConfig` object companion which if we remove it from the `OffsetConfig` file will one have `OffsetConfig` class signature. I vote to keep it here as it is very small change -- 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