onyx

FYI: alternative Onyx :onyx: chat is at <https://gitter.im/onyx-platform/onyx> ; log can be found at <https://clojurians-log.clojureverse.org/onyx/index.html>
asolovyov 2017-12-18T13:53:02.000051Z

hey! Would you be willing to accept changes to onyx-kafka which (optionally) commits offset to Kafka? Without that our process breaks, so I'm hoping you would accept that so that we don't need to maintain fork ๐Ÿ™‚

fdserr 2017-12-18T14:46:44.000510Z

Hi! Is there a hot code reload story with Onyx on a local setup? Expecting to reload jobs/fns, not the catalog... Pointers much appreciated, thanks!

niamu 2017-12-18T16:12:53.000911Z

@asolovyov You can set Kafka consumer options to enable that like so: :kafka/consumer-opts {"enable.auto.commit" true}

asolovyov 2017-12-18T16:58:40.000152Z

@niamu hm ๐Ÿ™‚

lucasbradstreet 2017-12-18T17:01:39.000190Z

@asolovyov that should work. What do you need the commits for?

michaeldrogalis 2017-12-18T17:08:37.000345Z

@fdserr It's just a jar -- standard nrepl reloading story for Clojure applies ๐Ÿ™‚

fdserr 2017-12-18T17:13:51.000005Z

@michaeldrogalis Wunderbar, thanks!

michaeldrogalis 2017-12-18T18:06:36.000273Z

No problem @fdserr!

michaeldrogalis 2017-12-18T18:22:55.000242Z

4 years everyone! Fun times.

michaeldrogalis 2017-12-18T18:22:58.000068Z

https://twitter.com/MichaelDrogalis/status/942819243732512768

10๐Ÿฆœ
asolovyov 2017-12-18T19:25:39.000420Z

@lucasbradstreet at least for our operations guys for monitoring ๐Ÿ™‚

lucasbradstreet 2017-12-18T19:26:00.000582Z

Right, was wondering if it was for that. Thatโ€™s a good use case for it.

lucasbradstreet 2017-12-18T19:26:46.000445Z

You can also look at lag_Value from onyxโ€™s metrics. Itโ€™ll tell you how far a peer is behind the head of the partitions, though it does aggregate multiple partitions into one value.

asolovyov 2017-12-18T19:27:04.000020Z

riight, that one is also interesting

asolovyov 2017-12-18T19:27:32.000342Z

also when we make some changes to our jobs we usually make a new release of the project, which means a new tenancy id

asolovyov 2017-12-18T19:27:57.000595Z

which means checkpoints are left in old tenancy, so I think easiest way for us is to use kafka offsets for some time

asolovyov 2017-12-18T19:28:07.000155Z

not sure that's the best practice right now though...

lucasbradstreet 2017-12-18T19:28:31.000284Z

Ah, I see. Resume points is usually the way of picking those back up.

lucasbradstreet 2017-12-18T19:28:53.000371Z

Resume points will allow you to pick them up from a diff tenancy.