Hi,
The main problem I see is a combination of your deserializer-fn
https://gist.github.com/anonymous/20a168573b11d83c60c3#file-gistfile1-txt-L26,
and the use of take-segments! to read from the output medium.
take-segments! is a testing convenience function that tries to take
from the channel until it reads a :done, which is only useful if
you're trying out batch workloads, where you have a :done on your
input source.
Your deserializer fn needs to convert bytes read from your kafka topic
into clojure data. You may have changed this for testing purposes,
however the problem is that it will then never read a :done, and thus
it will never exit.
If you are using a topic from elsewhere which will not ever have a
:done on the topic, or this is a long running streaming topic, then
you will need to decide how to decide when you are done reading from
the data source (e.g. no new data within some time period), and should
then kill the job.
Lucas
> --
> You received this message because you are subscribed to the Google Groups
> "Onyx" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
onyx-user+...@googlegroups.com.
> To post to this group, send email to
onyx...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/onyx-user/761120aa-ce1c-47ff-b294-aeffdcd70640%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.