Re: failed with LeaderNotAvailableError -

2015-12-17 Thread Dana Powers
> > > > > > 'Traceback (most recent call last): > > > > > > File > > > > > > > > > > > > > > > > > > > > > > > > > > > "/usr/local/lib/python2.7/dist-packages/gevent-1.1b6-py2.7-linux-x8

Re: failed with LeaderNotAvailableError -

2015-12-17 Thread David Montgomery
> > line 523, in run > > > > > result = self._run(*self.args, **self.kwargs) > > > > > File "/var/feed-server/ad-server/pixel-server.py", line 145, in > > > > > send_kafka_messag

Re: failed with LeaderNotAvailableError -

2015-12-17 Thread David Montgomery
elf.client.load_metadata_for_topics(topic) > > File "build/bdist.linux-x86_64/egg/kafka/client.py", line 383, in > > load_metadata_for_topics > > kafka.common.check_error(topic_metadata) > > File "build/bdist.linux-x86_64/egg/kafka/common.py", line 233

Re: failed with LeaderNotAvailableError -

2015-12-17 Thread Dana Powers
y", line 145, in > > > > send_kafka_message > > > > res = producer.send_messages(topic, message) > > > > File "build/bdist.linux-x86_64/egg/kafka/producer/simple.py", line > > 52, > > > in > > > > send_messages > > >

Re: failed with LeaderNotAvailableError -

2015-12-17 Thread Ben Davison
52, > > in > > > send_messages > > > partition = self._next_partition(topic) > > > File "build/bdist.linux-x86_64/egg/kafka/producer/simple.py", line > 36, > > in > > > _next_partition > > >

Re: failed with LeaderNotAvailableError -

2015-12-17 Thread Marko Bonaći
r/simple.py", line 36, > in > > _next_partition > > self.client.load_metadata_for_topics(topic) > > File "build/bdist.linux-x86_64/egg/kafka/client.py", line 383, in > > load_metadata_for_topics > > kafka.common.check_error(topic_metadata) > &g

Re: failed with LeaderNotAvailableError -

2015-12-17 Thread Ben Davison
ist.linux-x86_64/egg/kafka/client.py", line 383, in > load_metadata_for_topics > kafka.common.check_error(topic_metadata) > File "build/bdist.linux-x86_64/egg/kafka/common.py", line 233, in > check_error > raise error_class(response) > LeaderNotAvailableError:

failed with LeaderNotAvailableError -

2015-12-16 Thread David Montgomery
aise error_class(response) LeaderNotAvailableError: TopicMetadata(topic='topic-test-production', error=5, partitions=[]) failed with LeaderNotAvailableError # limitations under the License. # see kafka.server.KafkaConfig for additional details and defaults ##