2018-07-23 17:34:20 UTC - Grant Wu: I don’t see a command in this URL <https://pulsar.incubator.apache.org/docs/v2.0.1-incubating/reference/RestApi/#/admin/non-persistent/:property/:cluster/:namespace/:topic/subscription/:subscriptionName> ---- 2018-07-23 17:43:57 UTC - Grant Wu: Is that correct? ---- 2018-07-23 20:22:42 UTC - Grant Wu: Namely, it is unclear what the “given position” is ---- 2018-07-23 20:23:32 UTC - Grant Wu: <https://pulsar.incubator.apache.org/docs/v2.0.1-incubating/reference/RestApi/#/admin/persistent/:tenant/:namespace/:topic/subscription/:subName/resetcursor/:timestamp> also, for this, what format is the timestamp expected in? ---- 2018-07-23 20:23:35 UTC - Grant Wu: A Unix timestamp? ---- 2018-07-23 20:23:43 UTC - Grant Wu: @Sijie Guo ---- 2018-07-23 20:24:06 UTC - Sijie Guo: @Grant Wu one second ---- 2018-07-23 20:24:47 UTC - Grant Wu: :thumbsup: ---- 2018-07-23 20:25:01 UTC - Sijie Guo: > what format is the timestamp expected in?
yes it is a unix timestamp. ---- 2018-07-23 20:25:18 UTC - Sijie Guo: I will come back to your first question later ---- 2018-07-23 20:28:08 UTC - Grant Wu: Okay, cool. We probably ought to document that; it’s a bit confusing because it seems like the CLI has a bit of sugar that lets you specific relative timestamps, which isn’t in the REST API ----