Re: how to control assign policy for consumers

2014-05-29 Thread Guozhang Wang
rhead... > > -Исходное сообщение- > От: Guozhang Wang [mailto:wangg...@gmail.com] > Отправлено: Thursday, May 29, 2014 9:02 PM > Кому: users@kafka.apache.org > Тема: Re: how to control assign policy for consumers > > In the new consumer design the partitioning algo

Re: how to control assign policy for consumers

2014-05-29 Thread Guozhang Wang
ers@kafka.apache.org > Тема: Re: how to control assign policy for consumers > > With high-level consumers you cannot control the assignment of partitions > to consumers, and if partitions are located across all brokers each > consumer is likely to connect to each of the brokers. >

Re: how to control assign policy for consumers

2014-05-28 Thread Guozhang Wang
With high-level consumers you cannot control the assignment of partitions to consumers, and if partitions are located across all brokers each consumer is likely to connect to each of the brokers. One (little hacky) thing you can do is to manually assign the partitions to brokers such that each bro