Fork me on GitHub
#onyx
<
2015-11-06
>
spangler00:11:28

Hi @michaeldrogalis lucasbradstreet ... I am trying to switch over from core.async to kafka for reading messages. I've gone through the docs here: https://github.com/onyx-platform/onyx-kafka But onyx does not seem to be reading from the topic I established

spangler00:11:33

Any ideas how to triage this?

spangler01:11:31

I have checked and the messages have been put on the kafka topic referred to by my :read-messages task in the catalog

spangler01:11:49

But nothing is taking them off that topic on the onyx side

michaeldrogalis02:11:39

@spangler: I'd need to see a bit of code and logs to help.

yusup05:11:01

Hi , how am I gonna confine one task to be executed by each physical peer ,once only ?

yusup05:11:40

is this possible?

lucasbradstreet05:11:54

@yusup: do you mean that you want one task running on a peer on each physical node? There's no way to do this with our current scheduler I'm afraid

yusup05:11:07

yes. I want to ensure my network operations are evenly distributed.

lucasbradstreet05:11:57

Ah. We've been discussing improving the scheduler to allow that, but it's actually quite complex to get right, and we want to do it right.

lucasbradstreet05:11:04

The best thing I have for you is to suggest you use bigger instances so that things are normally more evenly spread out

yusup05:11:34

currently I can do submit a job to a cluster , each physical node only contains only single virtual peer .which basically achieves what I want.

yusup05:11:19

each physical node has just enough resource to do the networking stuff.

yusup05:11:41

but I have to submit another job to other stuff.

lucasbradstreet05:11:45

You could use a second set of peers running on another onyx/id, and submit the other job to that cluster. It's not ideal though.

yusup05:11:33

two clusters .

lucasbradstreet05:11:36

Especially since you only have one peer per node, because your job will stop if any of them dies

lucasbradstreet05:11:32

Yeah. Two "clusters" running on the same machine since onyx/id will logically separate them

yusup05:11:45

let me try this out first . simple_smile

yusup05:11:01

actually I mean two physical clusters.

lucasbradstreet05:11:04

It's not ideal and hopefully we can have a better solution for you in the future

lucasbradstreet05:11:14

Ha ok. That works too