Kafka

Read(1136) 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 compression 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. Under Windows, make the change in config.txt when starting esProc through .exe file; and in .bat file when starting the application through the .bat file. Make the modification in .sh file under Linux.

To modify the config.txt file under Windows:

java_home=C:\ProgramFiles\Java\JDK1.7.0_11;esproc_port=48773;btx_port=41735;gtm_port=41737;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() to access Kafka. Look them up in Help-Function referenceto find their uses.