ngrunwald/datasplash

Read from PubSub topic #10 seems to be a breaking change.

domparry opened this issue · 2 comments

I get the following compilation error now when switching to the new version:

Exception in thread "main" clojure.lang.ExceptionInfo: Wrong type of :kind for pubsub [null], should be either :subscription or :topic {:kind nil},

Oddly, using Uncast version 0.4.2 (where I think this code comes from, it works just fine. I'm invoking the call like this:

 (->> pipeline

      (ps/read-from-pubsub read-subscription {:name "Read events from pubsub"}))

Indeed it is a bug there @domparry, I hope to have fixed it with #20

This seems to be indeed fixed, thanks!