2019-01-21 09:19:06 UTC - Yuvaraj Loganathan: Use Virtualenv ---- 2019-01-21 09:38:51 UTC - Samuel Sun: hi, after I enabled the authentication in broker config, and try to create tenant by pulsar-admin, but it prompt “This operation requires super-user access”, what shall I do ? and I checked the code for clientAppId, looks like it was **None** when I ran the command . thanks ---- 2019-01-21 09:47:51 UTC - Sijie Guo: have you enabled authorization? <http://pulsar.apache.org/docs/en/security-authorization/#pulsar-admin-authentication> ---- 2019-01-21 09:50:18 UTC - Sijie Guo: I think it tries to limit the util to be used as namespace related places, so that’s probably why it is under `namespace` package.
ZkUtils from bookkeeper is a simple util class over zookeeper operations. since broker depends on bookkeeper, it seems to be okay to use bookkeeper util class. ---- 2019-01-21 09:59:51 UTC - Samuel Sun: I think I did this in the broker.conf file. ---- 2019-01-21 10:01:26 UTC - Samuel Sun: the log output is after this command: ---- 2019-01-21 10:01:42 UTC - Sijie Guo: did you configure pulsar-admin to use tls authentication? ---- 2019-01-21 10:01:42 UTC - Samuel Sun: ./bin/pulsar-admin tenants create tenant-permission ---- 2019-01-21 10:01:49 UTC - Samuel Sun: no tls ---- 2019-01-21 10:04:27 UTC - Samuel Sun: only set authenticationEnabled=true ---- 2019-01-21 10:08:06 UTC - Samuel Sun: sorry, I could get the reason, I made a mistake between authentication and authorization, it is working, sorry for trouble. ---- 2019-01-21 10:09:49 UTC - Sijie Guo: ok :slightly_smiling_face: ---- 2019-01-21 10:28:41 UTC - bossbaby: how about consumer? ---- 2019-01-21 11:40:08 UTC - David Tinker: My bad. One of my producers was behind and so its messages were outside of my de-dup window so it looked like Pulsar was de-duping. +1 : jia zhai ---- 2019-01-21 12:30:46 UTC - Samuel Sun: yeah, but this funtion createZnodeOptimistic looks like not only for namespace ? ---- 2019-01-21 15:26:48 UTC - Stephen Flynn: @Stephen Flynn has joined the channel ---- 2019-01-21 22:27:49 UTC - Sijie Guo: @Samuel Sun createZnodeOptimistic seems to be a private method, used by other namespace util methods, no? if createZnodeOptimistic is going to be used at other places, then it might be making sense to move the util to a common ‘utils’ package. ---- 2019-01-22 03:17:22 UTC - Shalin: I'm sure I have asked this before but can't seem to find the thread here. Which python binary does pulsar function use for executing the functions?, is there a way to change/set it somewhere? ---- 2019-01-22 03:21:18 UTC - Samuel Sun: not yet, what I mean is just this method looks like a create znode **common** method , which could be used in anywhere. ---- 2019-01-22 03:47:02 UTC - Sijie Guo: agreed - we can move that to a common place when more places are going to use this method :slightly_smiling_face: ---- 2019-01-22 03:51:24 UTC - Samuel Sun: cool, thanks. working on issue #2952, need to update zknode, and found this function. ---- 2019-01-22 04:14:58 UTC - Sijie Guo: cool :+1: ---- 2019-01-22 05:13:35 UTC - Sanjeev Kulkarni: its just python. whatever python maps to in the env that its executing is what is started ---- 2019-01-22 06:55:38 UTC - naga: can we replace batch loads to pub /sub? any point of view on this or experiences? ---- 2019-01-22 07:03:10 UTC - Ali Ahmed: @naga in general batch workloads can be made into event based systems it depends on the details ---- 2019-01-22 08:17:24 UTC - naga: thanks @Ali Ahmed like for example i have some 1000 rows a day and need to process into single system ---- 2019-01-22 08:39:59 UTC - naga: probaly it is csv or xml file ----
