title: kafka: Can't bind: topic error
body: <p>I am getting below error, when i am increasing number of kafka producer.
  Any one has idea what can be the problem here?</p>
  
  <p>Please find my producer settings:
  <a href="https://gist.github.com/Vibhuti/dbf1c24962b91f2bc217" rel="nofollow">https://gist.github.com/Vibhuti/dbf1c24962b91f2bc217</a></p>
  
  <p>Error logs:</p>
  
  <pre><code>main::catch {...} ("&lt;UNKNOWN&gt; Can't bind: topic = 'testing_producer' at /opt/adp/"...) called at /opt/adp/projects/code_coverage/perl//5.10/lib/site_perl/5.10.1/Try/Tiny.pm line 104
  Try::Tiny::try(CODE(0xabdf8d0), Try::Tiny::Catch=REF(0xabdb938)) called at ./stream_binary_hadoop.pl line 184
  main::stream(HASH(0xac5fde0)) called at ./stream_binary_hadoop.pl line 347
  main::file_split(HASH(0xabe71e0)) called at ./stream_binary_hadoop.pl line 406
  
  &lt;UNKNOWN&gt; &lt;UNKNOWN&gt; Can't bind: topic = 'testing_producer' at /opt/adp/projects/code_coverage/perl//5.10/lib/site_perl/5.10.1/Exception/Class/Base.pm line 85.
  Exception::Class::Base::throw("Kafka::Exception::Connection", "code", -1004, "message", "Can't bind: topic = 'testing_producer'") called at /opt/adp/projects/code_coverage/perl//5.10/lib/site_perl/5.10.1/Kafka/Connection.pm line 1303
  Kafka::Connection::_error(Kafka::Connection=HASH(0x176f9f40), -1004, "topic = 'testing_producer'") called at /opt/adp/projects/code_coverage/perl//5.10/lib/site_perl/5.10.1/Kafka/Connection.pm line 814
  Kafka::Connection::receive_response_to_request(Kafka::Connection=HASH(0x176f9f40), HASH(0x17767738), undef) called at /opt/adp/projects/code_coverage/perl//5.10/lib/site_perl/5.10.1/Kafka/Producer.pm line 363
  Kafka::Producer::send(Kafka::Producer=HASH(0x176fa1f8), "testing_producer", 0, "56b4b2b23c24c3608376d1f0,/obj/i386/junos/lib/librtsock/iff_ms"...) called at ./stream_binary_hadoop.pl line 171
  main::try {...} () called at /opt/adp/projects/code_coverage/perl//5.10/lib/site_perl/5.10.1/Try/Tiny.pm line 81
  eval {...} called at /opt/adp/projects/code_coverage/perl//5.10/lib/site_perl/5.10.1/Try/Tiny.pm line 72
  Try::Tiny::try(CODE(0x1776fa40), Try::Tiny::Catch=REF(0x1776a6b0)) called at ./stream_binary_hadoop.pl line 184
  main::stream(HASH(0x1775f6c0)) called at ./stream_binary_hadoop.pl line 347
  main::file_split(HASH(0x1775e790)) called at ./stream_binary_hadoop.pl line 406
  </code></pre>
  
  <p>For reference, my kafka code:</p>
  
  <pre><code>my $arcs_val = join( ',', @arc_a );
  my $hadoop_str = $testid . ',' . $gcda_file_name . ',' . $arcs_val;
  utf8::downgrade($hadoop_str);
  try {
          #my $topic = utf8::downgrade($testid);;
          my $topic = utf8::downgrade($testid);
          my $partition = 0;
          my $response = $producer-&gt;send(
                "testing_producer",             # topic
                $partition,                  # partition
                $hadoop_str
          );
  } catch {
          my $error = $_;
          if ( blessed( $error ) &amp;&amp; $error-&gt;isa( 'Kafka::Exception' ) ) {             warn 'Error: (', $error-&gt;code, ') ',  $error-&gt;message, "\n";
                exit;
          } else {
                die $error;
          }
  };
  </code></pre>