Kafka

Read(560) Label: kafkacli,

1. The directory containing files of this external library is: installation directory\esProc\extlib\KafkaCli. The Raqsoft core jar for this external library is scu-kafka-cli-2.10.jar.

commons-math3-3.6.1.jar

kafka_2.12-2.8.0.jar

log4j-1.2.17.jar

kafka-clients-2.8.0.jar

slf4j-api-1.7.25.jar

slf4j-log4j12-1.7.25.jar

Note: The third-party jars are encapsulated in the package and users can choose appropriate ones for specific scenarios.

 

2. A JRE version 1.7 or above is required. Users need to install a higher version if the esProc built-in JRE version does not meet the requirements, and then configure java_home in config.txt under installation directory \esProc\bin. Just skip this step if the JRE version is adequate.

 

3. Users can manually change the size of memory if the default size isn’t large enough for needs. Two ways to manage memory under Windows are available: Change the memory settings in config.txt when starting esProc through the executable file; and in the .bat file when starting the application through the batch file. Under Linux, change the memory size in the .sh file.

Below is the method of changing memory settings in config.txt under Windows:

java_home=C:\ProgramFiles\Java\JDK1.7.0_11;esproc_port=48773;jvm_args=-Xms256m-XX:PermSize=256M-XX:MaxPermSize=512M-Xmx9783m-Duser.language=zh

 

4. esProc provides functions kafka_open(), kafka_close(), kafka_poll(),kafka_send() and kafka_commit() for using Kafka. Look them up in Help-Function referenceto find their uses.