This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-28
Channels
- # aws (1)
- # beginners (30)
- # boot (7)
- # cider (52)
- # clara (91)
- # cljs-dev (33)
- # cljsjs (1)
- # clojure (447)
- # clojure-brasil (3)
- # clojure-dev (16)
- # clojure-dusseldorf (5)
- # clojure-filipino (1)
- # clojure-italy (29)
- # clojure-sanfrancisco (5)
- # clojure-spec (62)
- # clojure-uk (37)
- # clojurescript (145)
- # clojurewerkz (1)
- # code-reviews (12)
- # community-development (157)
- # cursive (5)
- # datascript (1)
- # datomic (27)
- # editors (42)
- # emacs (5)
- # fulcro (31)
- # hoplon (2)
- # jobs (2)
- # keechma (1)
- # lumo (31)
- # off-topic (2)
- # om (1)
- # onyx (13)
- # parinfer (8)
- # re-frame (13)
- # reagent (32)
- # remote-jobs (4)
- # shadow-cljs (103)
- # spacemacs (15)
- # specter (10)
- # sql (1)
- # tools-deps (35)
- # unrepl (13)
Hi guys! Suppose the are job running [:in :my-func :my-func :out] with one flow condition from :in to :my-func, so the task :my-func throw some exception. My question is: when the task retry it will pass in flow-condition again or not?
@lellis It depends on how far the input stream needs to rewind - it's probably safe to assume that flow conditions would evaluate again
@michaeldrogalis There is any chance the task retry without pass in flow-condition again?
@lellis Possibly. I can't recall the details in that area of code. @lucasbradstreet?
If your fn throws an exception that is not handled, the task will rewind to the point at which it was committed and depending on what your code does it will end up performing the same operations. So if your code always throws on that data it will throw again.
That will cause it to keep throwing over and over. So you need to handle any non transitory exceptions in your code.
If your using the kafka plugin it’ll play back the stream again so yes
K. Same deal. It’ll restart from an earlier tx, and everything will be performed as before, tasks, flow conditions, etc
nice! ty @lucasbradstreet and @michaeldrogalis!!