Kafka#
Kafka task#
Apache Kafka is an open-source stream-processing software platform developed by the Apache Software Foundation. (for more info : https://kafka.apache.org/)
You need to download these jar files and place them in your CrushFTP ▸ plugins ▸ lib folder.
kafka-clients.jar
kafka-streams.jar
Then restart CrushFTP.
Using Kafka task you are able to send a file or a custom topic.

It is possible to load your own SASL connection parameters with the flag "Load custom client config"

Config example:
#KafkaTask SASL properties file example
# Kafka server host and port.
bootstrap.servers=192.168.10:9092
# Client id
client.id=MyCrushFTP
# Serializer (Do not change!)
key.serializer=org.apache.kafka.common.serialization.StringSerializer
value.serializer=org.apache.kafka.common.serialization.ByteArraySerializer
#Max block and timeout
max.block.ms=10000
request.timeout.ms=20000
#Authentication related settings
security.protocol=SASL_PLAINTEXT
sasl.mechanism=PLAIN
sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required \
username="kafka-username" \
password="kafka-password" \