Kafka design pattern question - multiple user ids

2014-12-15 Thread Harold Nguyen
Hello Kafka Experts! Sorry if this has been answered before - I was hoping for a quick response to a naive questions for a newbie like myself! If I have multiple users, how do I split the streams so that they correspond with different user ids ? Suppose I have tens of thousands of user ids that

Re: Kafka design pattern question - multiple user ids

2014-12-15 Thread Harold Nguyen
t; KeyedMessage data = new KeyedMessage > (user_id, user_id, event); > > producer.send(data); > > Hope this helps, > Gwen > > On Mon, Dec 15, 2014 at 10:29 AM, Harold Nguyen > wrote: > > Hello Kafka Experts! > > > > Sorry if this has been answered befo