kafka/docs
Viktor Somogyi-Vass d13c1f652d
KAFKA-19480: Recreate /migration when it has null value (#20627)
When using the zookeeper-security-migration
tool without the '–enable.path.check' option, the script not only
updates the ACLs for the existing znodes, but also creates any
non-existing ones (with the ACL options specified) using null values
based on the list defined in
`ZkData.SecureRootPaths`.
This is especially problematic for the /migration znode as the current
logic only checks for the existence of the znode and later the migration
process will hang when it tries to parse the null value over and over
again.

In summary, the migration cannot be completed if the
zookeeper-security-migration script was run previously, and the only
workaround is to manually remove the /migration znode in such cases. I
propose a simple fix to circumvent the manual step by recreating the
/migration znode if it contains a null value.

---------

Co-authored-by: Gergely Harmadas <harmadasg@gmail.com>
2025-10-07 12:12:41 +02:00
..
documentation KAFKA-10679: [Streams] migrate kafka-site updated docs to kafka/docs (#9554) 2020-11-04 08:30:10 -05:00
images MINOR: Update site docs for ASF compliance (#12494) 2022-08-24 10:45:32 -04:00
js MINOR: Update 3.9.1 versions (#19756) 2025-05-21 10:57:54 +08:00
streams MINOR: update docs for KAFKA-19668 (#20506) 2025-09-08 13:39:31 -07:00
README.md KAFKA-16467: add docs README (#15664) 2024-04-30 10:26:35 +08:00
api.html MINOR: Fix indentation for several doc pages (#10766) 2021-06-17 15:58:40 -04:00
configuration.html MINOR: add docs for "org.apache.kafka.sasl.oauthbearer.allowed.urls" in v3.9 (#18940) 2025-02-18 17:13:09 +08:00
connect.html MINOR: Clarify ACL requirements for Connect workers when exactly.once.source.support is set to preparing (#16636) 2024-07-23 13:15:54 -04:00
design.html MINOR: Fix missing code tag in doc (#16466) 2024-06-27 20:52:46 +08:00
docker.html MINOR: Refresh of the docs (#16375) 2024-06-18 17:15:47 +02:00
documentation.html MINOR: update documentation link to 3.9 (#17216) 2024-09-17 07:36:08 -07:00
ecosystem.html MINOR: Improve introduction section in docs to better cover connect and streams. Make uses and ecosystem pages stand alone. 2016-09-28 16:30:21 -07:00
implementation.html MINOR: Refresh of the docs (#16375) 2024-06-18 17:15:47 +02:00
introduction.html MINOR: Fix broken link in introduction.html (#11249) 2021-10-11 16:45:36 +02:00
migration.html KAFKA-10679: Migrate upgrade changes from site to kafka/docs (#9551) 2020-11-03 13:40:44 -05:00
ops.html KAFKA-19480: Recreate /migration when it has null value (#20627) 2025-10-07 12:12:41 +02:00
protocol.html KAFKA-17051 ApiKeys#toHtml should exclude the APIs having unstable latest version (#16480) 2024-07-03 02:52:14 +08:00
quickstart.html KAFKA-17048; Update docs for KIP-853 (#17076) 2024-09-18 11:34:12 -07:00
security.html KAFKA-17048; Update docs for KIP-853 (#17076) 2024-09-18 11:34:12 -07:00
toc.html MINOR: fix docs references to missing features that are no longer missing (#20435) 2025-09-04 01:40:58 +08:00
upgrade.html MINOR: add docs for "org.apache.kafka.sasl.oauthbearer.allowed.urls" in v3.9 (#18940) 2025-02-18 17:13:09 +08:00
uses.html MINOR: Various fixes in the docs (#14914) 2023-12-04 22:06:49 +01:00

README.md

Docs

The documentation needs to run with kafka-site. Please check the README in the kafka-site repository to preview documentation locally.