Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SettingDescription
Kafka Version

The Kafka agents supports support Kafka client 0.8 to 2.4.1. Since there are compatibility issues between versions 0.9 and 0.10, as well as 2.4.0 and 2.4.1, you have three options; 0.8 - 0.9, 0.10 - 2.4.0 or 2.4.1.

Note
titleNote!

Authentication with Kerberos and Encryption with SSL, as described in 9.49.2 Kafka Agents Overview, is only available for Kafka version 0.9.


Kafka Topic

Enter the Kafka topic that you want to use for your configuration.

For information on how to create a Kafka topic, refer to MZSH Command Line Tool User's Guide.

Use Embedded Kafka

If you want to use the Kafka Service which is the Kafka embedded in , select this check box. When you select this check box, you are only required to populate the Kafka Service Key field.

Note
titleNote!

This option is only available when running Kafka client version 0.8.


Kafka Service Key

If you have selected to use Kafka Service, you must complete the Kafka Service Key. To determine which service key to use for Kafka Services, refer to MZ_HOME/common/config/cell/default/master/services/custom.conf.

Host

If you are using external Kafka, enter the host name hostname for Zookeeper.

Port

If you are using external Kafka, enter the port for Zookeeper.

Kafka Brokers

A Broker is a node in a Kafka cluster. If you are using external Kafka, you must add Kafka Brokers. Use the Add button to enter the addresses of the Kafka Brokers that you want to connect to.

...

Compression for messages to be sent to Kafka brokers can now be enabled from the Advanced producer properties. The compression codec utilized by follows the standard Kafka library, where Gzip, Lz4, and Snappy are supported.

To enable compression, just add the property compression.type into the to Advanced producer properties. Followed by the value, gzip, lz4snappy or none.

...

Note
titleWhen using Lz4 compression

When using the Lz4 compression codec, additional steps are required when running the embedded kafka Kafka solution.

First, ensure that the lz4-1.2.0.jar file is located in the $MZ_HOME/3pp/ directory.

Next, run the following topo commands:

Code Block
mzsh topo set topo://container:<container_name>/pico:sc1/obj:config.classpath '{jars:["lib/picostart.jar", "3pp/lz4-1.2.0.jar"]}'
mzsh topo set topo://container:<container_name>/pico:sc2/obj:config.classpath '{jars:["lib/picostart.jar", "3pp/lz4-1.2.0.jar"]}'
mzsh topo set topo://container:<container_name>/pico:sc3/obj:config.classpath '{jars:["lib/picostart.jar", "3pp/lz4-1.2.0.jar"]}'


...