in reply to Experience with the Kafka interface modules

You don't show which part of the docs you're looking at. Kafka contains the README, which documents the following environment variables for the benchmark test:

TESTING The following environment variables change the way Kafka Benchmark tes +t behave ("t/99_usage/03_kafka_bench.t"): # the IO timeout in secs KAFKA_BENCHMARK_TIMEOUT = 0.5 # minimum length of test messages KAFKA_BENCHMARK_LEN_MIN = 200 # maximum length of the test messages KAFKA_BENCHMARK_LEN_MAX = 200 # number of messages for batch testing KAFKA_BENCHMARK_PACKAGE = 5000 # number of messages for a single test KAFKA_BENCHMARK_SINGLE = 5

I find them fairly self-descriptive and I wouldn't worry about a benchmark test failing too much.

Replies are listed 'Best First'.
Re^2: Experience with the Kafka interface modules
by Wiggins (Hermit) on May 08, 2016 at 20:17 UTC
    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.