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>
2017-12-05T11:59:42.000304Z

i'm trying to use kafka's command line utils to check the offsets for a topic that onyx is reading from

2017-12-05T12:00:37.000063Z

but i can't get it to return any results, is onyx 0.12 using consumer groups to track offsets?

2017-12-05T12:01:59.000129Z

or am i just missing something obvious?

michaeldrogalis 2017-12-05T15:06:32.000730Z

@chrisblom It does not use Kafka's offset tracking, no. It commits offsets with the checkpoint object to S3.

michaeldrogalis 2017-12-05T15:06:52.000098Z

You can use the resume points API to grab what's in the checkpoint for a job and find the offset.

2017-12-05T15:07:29.000355Z

thanks

michaeldrogalis 2017-12-05T15:08:49.000375Z

No problem -- let me know if you get stuck, happy to help further.

eelke 2017-12-05T15:43:29.000716Z

So for my understanding, onyx-kafka performs manual offset control?

schmee 2017-12-05T15:51:28.000402Z

hello all!

michaeldrogalis 2017-12-05T15:51:32.000620Z

@eelke Yep.

schmee 2017-12-05T15:52:05.000407Z

out of curiosity, how does Onyx relate to or use the “exactly-once” semantics in Kafka 0.11? https://www.confluent.io/blog/exactly-once-semantics-are-possible-heres-how-apache-kafka-does-it/

michaeldrogalis 2017-12-05T15:52:06.000617Z

We need to control the time of checkpointing and restoration, and also colocate the offset with the rest of the checkpoint for atomicity.

michaeldrogalis 2017-12-05T15:52:44.000931Z

@schmee Onyx supports exactly once aggregations, irrespective of whether you're using Kafka 0.11 or below.

michaeldrogalis 2017-12-05T15:53:15.000519Z

Kafka's "exactly once" supports transactions across topics. Onyx (and same with Flink/Spark etc) exactly once has to do with how data is aggregated.

michaeldrogalis 2017-12-05T15:53:39.000312Z

Bit of an overloaded term tbh

schmee 2017-12-05T15:54:11.000373Z

ok, so Onyx does not leverage that feature in Kafka in any way?

michaeldrogalis 2017-12-05T15:56:10.000820Z

Not yet, no. It's on our road map to add. The idea is that Onyx would be able to ingest data from Kafka, and also commit data to another topic transactionally.

schmee 2017-12-05T15:56:48.000064Z

sweet, thanks for the info 👍

michaeldrogalis 2017-12-05T15:58:01.000507Z

Sure thing!

michaeldrogalis 2017-12-05T16:00:28.000574Z

Onyx 0.12 has officially been released 🎊

👏 8
lucasbradstreet 2017-12-05T16:56:31.000330Z

Change notes in here: https://github.com/onyx-platform/onyx/blob/0.12.x/changes.md#0120

lucasbradstreet 2017-12-05T16:56:58.000556Z

Lots of good stuff, a few breaking changes to prepare for the future. These will settle down now.

lucasbradstreet 2017-12-05T22:20:39.000509Z

New onyx/task type: :reduce.

lucasbradstreet 2017-12-05T22:21:10.000084Z

This is a big deal as it allows you to create tasks that do no not emit their transformed segments downstream. Great for tasks that use :trigger/emit.