Re: Partition Balancing

2013-09-19 Thread Joel Koshy
Hi Tom, that's right - see http://kafka.apache.org/documentation.html#datacenters Thanks, Joel On Tue, Sep 17, 2013 at 1:57 PM, Tom Amon wrote: > This means it's not recommended to spread a cluster of brokers over more > than one data center? Are there specific timing or performance issues > re

Re: Producer thread safety

2013-09-19 Thread Mathias Herberts
Please ignore this report, the problem was triggered by another thread clearing the list currently being sent. Sorry for the noise. On Thu, Sep 19, 2013 at 11:34 AM, Mathias Herberts < mathias.herbe...@gmail.com> wrote: > Hi, > > I'm testing Kafka 0.8 and I encounter an error when accessing a P

Producer thread safety

2013-09-19 Thread Mathias Herberts
Hi, I'm testing Kafka 0.8 and I encounter an error when accessing a Producer from mutliple threads. I've always thought Producer was thread safe but it seems this is no longer the case. This is the stack trace of the error I'm getting: java.util.ConcurrentModificationException at java.util.A