This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-11-16
Channels
- # aleph (1)
- # aws (1)
- # beginners (23)
- # boot (33)
- # cider (15)
- # cljs-dev (4)
- # clojure (73)
- # clojure-dev (18)
- # clojure-italy (8)
- # clojure-russia (7)
- # clojure-serbia (1)
- # clojure-spec (8)
- # clojure-uk (118)
- # clojure-ukraine (3)
- # clojurescript (34)
- # code-art (1)
- # community-development (24)
- # cursive (21)
- # data-science (3)
- # datomic (72)
- # defnpodcast (1)
- # fulcro (77)
- # graphql (4)
- # hoplon (8)
- # jobs (3)
- # luminus (3)
- # lumo (7)
- # off-topic (3)
- # onyx (17)
- # other-languages (7)
- # pedestal (1)
- # perun (1)
- # protorepl (21)
- # re-frame (91)
- # ring (4)
- # ring-swagger (18)
- # shadow-cljs (22)
- # spacemacs (37)
- # specter (1)
- # sql (23)
- # test-check (4)
- # unrepl (29)
- # utah-clojurians (3)
- # vim (36)
- # yada (10)
Anyone have an idea as to why adding these dependencies:
[com.fzakaria/slf4j-timbre "0.3.7"]
[org.slf4j/slf4j-api "1.7.14"]
to my project that already uses [com.taoensso/timbre "4.10.0"]
causes onyx.log
to be spammed with these messages:
17-11-16 01:30:48 kenny-ubuntu INFO [org.apache.zookeeper.server.PrepRequestProcessor:648] - Got user-level KeeperException when processing sessionid:0x15fc272ddec0001 type:create cxid:0x122 zxid:0x8f txntype:-1 reqpath:n/a Error Path:/onyx/1/checkpoint/f96426ca-8e43-9268-e699-08d2d8893f92/11-9 Error:KeeperErrorCode = NoNode for /onyx/1/checkpoint/f96426ca-8e43-9268-e699-08d2d8893f92/11-9
... the project has these Onyx deps:
[org.onyxplatform/onyx "0.11.1" :exclusions [org.slf4j/slf4j-nop]]
[org.onyxplatform/lib-onyx "0.11.1.0"]
@kenny It flipped on ZooKeeper's logging to INFO. ZK and Kafka have insanely chatty logs.
Is there any reason why the core.async plugin uses random-uuid
for :core.async/id
rather than just taking the task name? Or to put it another way, if I hacked it ti use the task-name, would it break something?
@akiel If Nippy can compress it, yes, but I really wouldn't recommend it.
@dave.dixon Sorry, where is that?
@michaeldrogalis https://github.com/onyx-platform/onyx/blob/7903b6dd459c4b0a45b97ca1705fed06ebd07e4d/src/onyx/tasks/core_async.clj#L22
Oh, this is 0.9
I set it up this way a long time ago to avoid conflicts across tasks and channels - you can use the task name. I guess that never occurred to me
There's really no magic going on here other than using the UUID to look itself up in the map and give itself isolation from other channels
@michaeldrogalis thanks, I’ll try it
@michaeldrogalis Great, thanks, makes it easy to remove duplicate entries.
@dave.dixon Cool - yes I see no problems with doing that. 🙂