# Handling Images via Kafka Topics

**URL:** <https://forum.confluent.io/t/handling-images-via-kafka-topics/11230>\
**Category:** Kafka Connect\
**Created:** [12 August 2024 04:49 UTC](https://forum.confluent.io/t/handling-images-via-kafka-topics/11230 "2024-08-12T04:49:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandeep](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@sandeep](https://forum.confluent.io/u/sandeep)\
**Post date:** [12 August 2024 04:49 UTC](https://forum.confluent.io/t/handling-images-via-kafka-topics/11230/1 "2024-08-12T04:49:52Z")

</div>

Hi All,

Does anyone has experience on handling Images via Kafka Topic? Is it recommended to send images through Kafka topic? Can it be done through a connector?  
I have a requirement to source images from Azure blob storage and keep it in a Topic. And then again send/sink the images to Azure blob storage. Here the images can be of any format(.jpg,.jpeg,.png more) and the size can also go upto 10MB.  
Please share your insights/experience.

Thank You,  
Sandeep

---

<div class="post-metadata">

**Author:** ![joydeep.2024](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@joydeep.2024](https://forum.confluent.io/u/joydeep.2024)\
**Post date:** [16 August 2024 15:54 UTC](https://forum.confluent.io/t/handling-images-via-kafka-topics/11230/2 "2024-08-16T15:54:29Z")

</div>

Hey,

Technically this may be possible but just keep in mind that you may have to modify some settings as by default a message size can be 1MB. There is a reason behind that as it is considered inefficient to pass big message size through Kafka.  
What may be a better approach would be to send the name of the images or links to the images through Kafka which the consumer can use to pull from storage.

Thanks,  
Joydeep

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/1X/c49438c90c9df282e9996fdf6971be890c71b65a.svg) [@system](https://forum.confluent.io/u/system)\
**Post date:** [15 September 2024 15:54 UTC](https://forum.confluent.io/t/handling-images-via-kafka-topics/11230/3 "2024-09-15T15:54:40Z")

</div>

Closed on 15 September 2024 15:54 UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
