singhnama commented on PR #12359:
URL: https://github.com/apache/kafka/pull/12359#issuecomment-1176054747

   Sanitizing the resource name have a compatibility issue with already 
existing ACLs,  and also there are very few special characters which are not 
allowed by the zookeeper which can be found here 
[https://zookeeper.apache.org/doc/r3.1.2/zookeeperProgrammers.html](https://zookeeper.apache.org/doc/r3.1.2/zookeeperProgrammers.html)
 so we decided to fail the creation with `/` in the resource name since this is 
allowed by zookeeper but it's creating the problem.
   
   Not allowed characters:
   `The null character (\u0000) cannot be part of a path name. (This causes 
problems with the C binding.)
   
   The following characters can't be used because they don't display well, or 
render in confusing ways: \u0001 - \u0019 and \u007F - \u009F.
   
   The following characters are not allowed: \ud800 -uF8FFF, \uFFF0-uFFFF, 
\uXFFFE - \uXFFFF (where X is a digit 1 - E), \uF0000 - \uFFFFF.
   
   The "." character can be used as part of another name, but "." and ".." 
cannot alone be used to indicate a node along a path, because ZooKeeper doesn't 
use relative paths. The following would be invalid: "/a/b/./c" or "/a/b/../c".
   
   The token "zookeeper" is reserved.`


-- 
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

Reply via email to