You would ship the contents of the file across as a message. In general this would mean that your maximum file size must be smaller than your maximum message size. It would generally be a better choice to put a pointer to the file in some shared location on the queue.
-Mark > On Jun 15, 2014, at 19:41, <huqiming0...@live.com> wrote: > > Hi Sometimes we want use kafka to send files(like textfile,xml...), but I > didn't see this in documention. > Can kafka use to tansfer files? If can ,how can I do > Thanks