TS : PubSub name, seems it can't have spaces.
First time running PubSub locally, I tried to name topic/subscription like so -"Process Webhook X Event" that fails with the error -
thread 'tokio-runtime-worker' panicked at runtimes/core/src/pubsub/nsq/topic.rs:28:52:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at runtimes/core/src/pubsub/nsq/sub.rs:40:65:
called `Option::unwrap()` on a `None` value
fatal runtime error: failed to initiate panic, error 5
Adding RUST_BACKTRACE=1 didn't offer much more.
But when I changed it to "process-webhook-x-event" everything ran fine.
The reason I tried to name it as above is because CronJob() has a title param as well as name, but this doesn't. Maybe this should have a title param in conf also?
Perhaps a better error here would help, the above error is a bit misleading, I wasn't quite clear if I needed to install and run nsq with custom config, but it appears that you handle that.
Thanks for reporting, yes these rust errors are not helpful and we're continuously working through them to add more helpful ones.