Skip to main content

Tiered Storage Disable Feature Not Working in Kafka 3.9

Hello Community,

As part of our testing, I am validating the scenario where tiered storage
is disabled on a topic where it was previously enabled.

I attempted to alter the topic configuration using the following configs:

remote.storage.enable=true
remote.log.copy.disable=true


However, this results in an exception stating that remote.log.copy.disable
is not valid in ZooKeeper mode.

Caused by: org.apache.kafka.common.errors.InvalidConfigurationException:
It is invalid to set `remote.log.delete.on.disable` or
`remote.log.copy.disable` under Zookeeper's mode.


We are running Kafka v3.9.1 on a ZooKeeper-backed cluster, and based on the
KIP-950
<https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=263424654#KIP950:TieredStorageDisablement-StateTransitions>
documentation, these configurations appear to be available for
ZooKeeper-based clusters as well.

Am I missing any prerequisite or additional step required to disable Tiered
Storage for an existing topic in this setup?

Thanks!

--
Avishek Das
SMTS | Salesforce
Mobile: +917008383890

Comments