Kafka can accept any type of data, you just pass a byte[] to the producer
and get a byte[] back from the consumer. How you interpret it is entirely
up to your application.

But it does have limits on message size (see the message.max.bytes and
replica.fetch.max.bytes setting for brokers) and clients have limits as
well (e.g., fetch.message.max.bytes in the consumer) and since Kafka is
usually used with pretty small messages, the defaults may be too low for
your application. Those are just the settings I can think of off the top of
my head; there may be more, and you'll probably have to tweak some other
settings to achieve the best performance.


On Thu, Feb 26, 2015 at 3:21 AM, siddharth ubale <siddharth.ub...@gmail.com>
wrote:

> Hi ,
>
> Can you please let me know if we can send a file as in a pdf,jpg or Jpeg as
> a content of a message which we send via Kafka?
>
> Thanks,
>
> Siddharth Ubale
>



-- 
Thanks,
Ewen

Reply via email to