kamalcph commented on code in PR #14161: URL: https://github.com/apache/kafka/pull/14161#discussion_r1296140643
########## core/src/main/scala/kafka/server/ConfigHandler.scala: ########## @@ -62,6 +62,15 @@ class TopicConfigHandler(private val logManager: LogManager, kafkaConfig: KafkaC topicConfig.asScala.forKeyValue { (key, value) => if (!configNamesToExclude.contains(key)) props.put(key, value) } + + val remoteLogStorageEnable = topicConfig.getProperty(TopicConfig.REMOTE_LOG_STORAGE_ENABLE_CONFIG) + + if (!kafkaConfig.remoteLogManagerConfig.enableRemoteStorageSystem() + && remoteLogStorageEnable != null + && remoteLogStorageEnable.toBoolean) { + throw new ConfigException(s"You have to delete all topics with the property remote.storage.enable (i.e. $topic) before disabling tiered storage cluster-wide") Review Comment: `delete` -> `disable`. -- 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