2019-10-31 09:18:08 UTC - Jasper Li: Thanks a lot!!! sorry for asking a stupid question ---- 2019-10-31 09:18:43 UTC - xiaolong.ran: Welcome ---- 2019-10-31 10:17:40 UTC - Jasper Li: Hello,
I would like to ask that what does it means "Offload has not been run for persistent:// since broker startup" after I set the configuration. ---- 2019-10-31 10:53:43 UTC - xiaolong.ran: ``` Offload has not been run for ``` means the offload `NOT_RUN` ---- 2019-10-31 10:57:42 UTC - xiaolong.ran: you can use `<https://pulsar.apache.org/docs/en/pulsar-admin/#offload>` or you can config offload to run automatically <https://pulsar.apache.org/docs/en/cookbooks-tiered-storage/#configuring-offload-to-run-automatically> ---- 2019-10-31 11:02:08 UTC - Mark Marijnissen: What parameter does `/admin/v2/persistent/{tenant}/{namespace}/{topic}/subscription/{subName}/resetcursor/{timestamp}` accept as timestamp? I tried using `24h` but that does not seem to work. An integer works, but I am unsure what I am doing. See <https://pulsar.apache.org/admin-rest-api/?version=2.4.1#operation/resetCursorOnPosition> Documentation is confusing: integer <int64> Required time in minutes to reset back to (or minutes, hours,days,weeks eg:100m, 3h, 2d, 5w) ---- 2019-10-31 11:04:51 UTC - tuteng: timestamp is a unix timestamp var timestamp = Math.floor(dateTime) - parseInt(this.form.minutes) * 60 * 1000 ---- 2019-10-31 11:07:08 UTC - Mark Marijnissen: thanks! seems the CLI does a conversion from relative time to unix timestamp in millis: <https://github.com/apache/pulsar/blob/b2aae9c3571f3bc9516a42a794c75d44e6d16e9f/pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdTopics.java#L527-L530> So the REST API docs only work for the CLI, not for the pure REST API ---- 2019-10-31 11:14:11 UTC - tuteng: I think if you use java for development, you can try to apply pulsar-admin <https://mvnrepository.com/artifact/org.apache.pulsar/pulsar-client-admin>. If you use go for development, you can try to apply pulsarctl <https://github.com/streamnative/pulsarctl>. Other languages need to call rest api to implement it. ---- 2019-10-31 12:21:49 UTC - Mark Marijnissen: I have a little nodejs commandline utility for pulsar developers to check stats, peek a message, etc. +1 : tuteng, Jasper Li ---- 2019-10-31 16:03:10 UTC - Prannoy Tank: @Prannoy Tank has joined the channel ---- 2019-10-31 16:30:18 UTC - Sanchit Singhal: @Sanchit Singhal has joined the channel ---- 2019-10-31 23:50:11 UTC - Simba Khadder: @Simba Khadder has joined the channel ---- 2019-11-01 02:02:24 UTC - nickie.iam: @nickie.iam has joined the channel ---- 2019-11-01 07:11:37 UTC - Gopi Krishna L: Hello Everyone! Is there any specific project structure for writing pulsar-functions in java. And where can I find a tutorial for the same. I am trying to do a POC on pulsar compared to spark, anyone who can guide me through the streaming data from mongoDB ? ----
