pckeyan commented on issue #2157: #2156 - Documentation need to be updated for Admin command to apply deduplication at namespace URL: https://github.com/apache/incubator-pulsar/pull/2157#issuecomment-405024720 @sijie I tested the command and below are the results. It works fine. If you are referring to the functionality, I tested it and seeing duplicates published and consumed. I will create a separate issue for it. ` $> pulsar-admin namespaces set-deduplication \ > persistent://my-tenant/ns1/my-card-topic \ > --enable java.lang.IllegalArgumentException: Invalid namespace format. namespace: persistent://my-tenant/ns1/my-card-topic at org.apache.pulsar.common.naming.NamespaceName.<init>(NamespaceName.java:100) at org.apache.pulsar.common.naming.NamespaceName.<init>(NamespaceName.java:32) at org.apache.pulsar.common.naming.NamespaceName$1.load(NamespaceName.java:44) at org.apache.pulsar.common.naming.NamespaceName$1.load(NamespaceName.java:41) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3628) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2336) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2295) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2208) at com.google.common.cache.LocalCache.get(LocalCache.java:4053) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4057) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4986) at org.apache.pulsar.common.naming.NamespaceName.get(NamespaceName.java:65) at org.apache.pulsar.admin.cli.CliCommand.validateNamespace(CliCommand.java:43) $> pulsar-admin namespaces set-deduplication \ > my-tenant/ns1 \ > --enable `
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
