We are looking at 2 different files.

Mine is the result of a 'module' load using 'cpan install Kafka'; while you are referencing a 'Distribition' Kaffka-0.12.tar. There is a Kafka::Mock module that has the same -0.12 nomenclature.

The CPAN command "i /Kafka/ " shows both.

In 'root/.cpan/build/Kafka-09010-xxxxxx'there is only one README with:

... TESTING The following environment variable changes the way Kafka Benchmark tes +t behave: # The root directory of the installation Kafka 0.8+ KAFKA_BASE_DIR SIMPLE BENCHMARK ...
Which is is the most current or correct one, or what are the content differences, I don't know...

++++ UPDATE+++++ I just tried installing the Distribution, and it installed without comment.

++++ UPDATE-2 +++++ The distribution did not contain ALL of the modules. Kafka::Message.pm and Kafka::Connection, at least, were not installed. I believe other utility pieces were also missing.

I did a 'cpan install Kafka::Message' and numerous other modules were also installed.
The sample program in the Kafka::Producer man page does pass a syntax check, but always ends with the error

Error: (-1004) Can't bind: topic = 'ort2'
A tcpdump shows a good TCP connection with 50+ packets exchanged. And I tried pre-defined topics and unique new topics

More study needed...

It is always better to have seen your target for yourself, rather than depend upon someone else's description.


In reply to Re^2: Experience with the Kafka interface modules by Wiggins
in thread Experience with the Kafka interface modules by Wiggins

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.