Fork me on GitHub
#onyx
<
2017-11-16
>
kenny01:11:18

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

kenny01:11:55

... 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"]

michaeldrogalis04:11:43

@kenny It flipped on ZooKeeper's logging to INFO. ZK and Kafka have insanely chatty logs.

kenny04:11:24

Makes sense. Thanks!

akiel13:11:52

Hi, can I put byte arrays in segments? If yes, are there size restrictions?

sparkofreason15:11:15

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?

michaeldrogalis15:11:07

@akiel If Nippy can compress it, yes, but I really wouldn't recommend it.

michaeldrogalis15:11:01

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

michaeldrogalis15:11:19

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

akiel16:11:52

@michaeldrogalis thanks, I’ll try it

sparkofreason16:11:36

@michaeldrogalis Great, thanks, makes it easy to remove duplicate entries.

michaeldrogalis16:11:02

@dave.dixon Cool - yes I see no problems with doing that. 🙂

asolovyov20:11:57

@nha that function indicates that no retry is necessary by returning nil 🙂