learn-onyx
learn-onyx copied to clipboard
Learn Onyx with an interactive workshop.
Using 0.14.5 I got this error from Aeron: ```clojure lein test :only onyx-starter.jobs.sample-job-test/test-sample-dev-job ERROR in (test-sample-dev-job) (CommonContext.java:469) Uncaught exception, not in assertion. expected: nil actual: java.lang.IllegalStateException: Aeron CnC version does...
I ran into the problem of creating functions that dealt with collections, since the example uses a collection for testing. It was lost on me that onyx automatically breaks the...
https://github.com/onyx-platform/learn-onyx/blob/d03ad6264bb186bbf70a811739c410f037f5eb46/test/workshop/jobs/challenge_4_1_test.clj#L15 The challenge readme mentions :message but the answer does not need :message. Is it a red herring from an earlier version of onyx?
My notes from the Singapore Onyx Dojo. TO IMPROVE: challenge-2-2: mention batch-size / batch-timeout required i.e. partial task-map entry challenge-2-0: information model link is outdated now challenge-1-3 DAG is a...
[`segments-equal`](https://github.com/onyx-platform/learn-onyx/blob/master/src/workshop/workshop_utils.clj#L43) converts inputs and outputs to a set. That means that for example challenge 1-3 might show a valid test without duplicated outputs for the paths E-G, E-H,E-I. Maybe this...
Working through these, I noticed in challenge 3-1 there's two functions `interpose-space` and `interpose-pipe`. It was odd seeing two specific `fn`'s so soon after learning about generalized `fn`'s with `:onyx/params`....
Is it intentional that the tests are namespaced as `workshop.jobs.challenge-x-x-test` while src files are namespaced `workshop.challenge-x-x`? This prevents cider from being able to run the test directly from the src...
Change from ``` clojure (def workflow) ``` to ``` clojure (def workflow []) ``` To get rid of unbound var exception.
While running Challenge 2 4, the check ``` (is (= ["Peer executing task :identity" "Peer executing task :identity" "Peer executing task :identity" "Peer executing task :read-segments" "Peer executing task :write-segments"]...
Add after-retry and after-complete to lifecycles example. Have an example where they add submit-job (and maybe await-job-completion). Add an example where we can manipulate catalogs/workflows/etc to show the power of...