How to receive Files through Kafka ?

0
Hi All , I am publishing a File in kafka Server from Command prompt . Now, I need to receive it as a file in Mendix. But I am receiving it as separate records line by line… Existing Kafka connector is not having feature to produce and consume messages.. Can anyone share your suggestions to Produce and Consume files through Kafka in Mendix?  
asked
1 answers
0

Hi Paul,

 

The Payload in Kafka is a string, to transfer files you can use base64 encode and decode to file, so when you send the file, encode it to base64, and when you receive by your topic inside the microflow event you can decode base64 to file, you can find the needed action inside the community common module 

https://marketplace.mendix.com/link/component/170

Thanks,

Nour

answered