How to receive Files through Kafka ?

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?  
1 answers

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