Wiggins has asked for the wisdom of the Perl Monks concerning the following question:
I an working on RHEL7 (new OS for me), and have all the needed support packages installed. But the Kafka module is not installed due to numerous failed tests!
There is a mysterious statement in the README:
Nothing more. Is that just an empty directory? is this the only inference that 'kafka' is expected to be installed on all system where this Perl module is installed?The following environment variable changes the way Kafka Benchmark tes +t behave: # The root directory of the installation Kafka 0.8+ KAFKA_BASE_DIR
There is no Apache Kafka installed on this client system, the Kafka is installed on a separate Server system.
---Update------------
I have things working, and I thought that if you called up this thread, you might like a tip on testing that your code really works. I installed Kafka with a 'walk-through' blog entry, so I am not at all familiar with Kafka itself. But, in order to get things talking, the Kafka configuration file "server.properties" needs to have the 2 'hostname' related items:
And then I set /etc/hosts (on both machines) so that 'kafka' resolved to the IP of the Kafka server. Set it to some name resolvable by either the DNS or the /etc/hosts file on both the remote Kafka and the Perl client machine.host.name=kafka advertised.host.name=kafka
Good luck
It is always better to have seen your target for yourself, rather than depend upon someone else's description.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Experience with the Kafka interface modules
by Corion (Patriarch) on May 08, 2016 at 17:44 UTC | |
by Wiggins (Hermit) on May 08, 2016 at 20:17 UTC |