[
https://issues.apache.org/jira/browse/KAFKA-1994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14344572#comment-14344572
]
Jun Rao commented on KAFKA-1994:
--------------------------------
Ashish,
The code path for creating a topic may not be optimized. Could you just test
the cost of createPersistent() with and w/o the patch? Thanks,
> Evaluate performance effect of chroot check on Topic creation
> -------------------------------------------------------------
>
> Key: KAFKA-1994
> URL: https://issues.apache.org/jira/browse/KAFKA-1994
> Project: Kafka
> Issue Type: Improvement
> Reporter: Ashish K Singh
> Assignee: Ashish K Singh
>
> KAFKA-1664 adds check for chroot while creating a node in ZK. ZkPath checks
> if namespace exists before trying to create a path in ZK. This raises a
> concern that checking namespace for each path creation might be unnecessary
> and can potentially make creations expensive.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)