Subject: | perl kafka-0.8010 |
Date: | Wed, 12 Aug 2015 14:01:45 +0000 |
To: | "bug-Kafka [...] rt.cpan.org" <bug-Kafka [...] rt.cpan.org>, "sgladkov [...] trackingsoft.com" <sgladkov [...] trackingsoft.com> |
From: | "Shamaei, Shabnam" <Shabnam.Shamaei [...] MorganStanley.com> |
Hi,
I'm using kafka-0.8010. my script is a simple publisher with 3 brokers.
$connection = Kafka::Connection->new (broker_list => ['xxxxxxxxxx:9093',xxxxxxxxx:9093','xxxxxxxxxx:9093'],timeout=>1000,RETRY_BACKOFF => 10000);
my $producer = Kafka::Producer->new( Connection => $connection , RequiredAcks => 0, Timeout => 30);
eval{ $producer->send('test1',0,$line); };
print ($@) if ($@);
whenever I put leader down the publisher cannot publish and I get the following error:
Replica not available: topic = 'test1'
And if I restart I get the same error at publishing time.
Thanks,
Shabnam Shamaei
Morgan Stanley | Enterprise Infrastructure
700 Rue Wellington | Floor 02
Montreal, QC H3C 3S4
Phone: +1 514 876-5600
Shabnam.Shamaei@MorganStanley.com<mailto:Shabnam.Shamaei@MorganStanley.com>
Be carbon conscious. Please consider our environment before printing this email.
Show quoted text
________________________________
NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or views contained herein are not intended to be, and do not constitute, advice within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and Consumer Protection Act. If you have received this communication in error, please destroy all electronic and paper copies; do not disclose, use or act upon the information; and notify the sender immediately. Mistransmission is not intended to waive confidentiality or privilege. Morgan Stanley reserves the right, to the extent permitted under applicable law, to monitor electronic communications. This message is subject to terms available at the following link: http://www.morganstanley.com/disclaimers If you cannot access these links, please notify us by reply message and we will send the contents to you. By messaging with Morgan Stanley you consent to the foregoing.