Apache Kafka is used with IBM® Streams. You must download and install Apache Kafka on the services node.
For information about using Apache Kafka, see the Kafka documentation
(https://kafka.apache.org/quickstart).
Procedure
-
Go to the Apache Kafka download page
(https://www.apache.org/dyn/closer.cgi?path=/kafka/0.10.0.1/kafka_2.11-0.10.0.1.tgz).
- Click one of the links to download the software.
- In the download directory, decompress the file to the /opt
directory.
For example, enter tar xvf kafka_2.11-0.10.0.1.tgz -C
/opt
- Set the JAVA_HOME environment variable to point to OpenJDK Java™.
export
JAVA_HOME=/usr/jdk64/java-1.8.0-openjdk-1.8.0.77-0.b03.el7_2.x86_64/jre
- Set the PATH environment variable to include the OpenJDK Java bin directory.
export
PATH=/usr/jdk64/java-1.8.0-openjdk-1.8.0.77-0.b03.el7_2.x86_64/jre/bin:$PATH