!!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.\\
\\
[attachments|kafka_task.png]\\
\\
It is possible to load your own SASL connection parameters with the flag "Load custom client config"\\
\\
[attachments|kafka_custom_config.png]\\
\\
Config example:
\\
{{{
#KafkaTask SASL properties file example

# Kafka server host and port.
bootstrap.servers=192.168.10:9092

# Client id
client.id=CrushFTP

# Serializer (Cannot be changed!)
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" \
}}}