# 🧑🏻‍💻 Building your own Kafka Connect Connectors \[Complete Example\]

**URL:** <https://forum.confluent.io/t/building-your-own-kafka-connect-connectors-complete-example/6524>\
**Category:** Kafka Connect\
**Created:** [14 November 2022 14:31 UTC](https://forum.confluent.io/t/building-your-own-kafka-connect-connectors-complete-example/6524 "2022-11-14T14:31:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![riferrei](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/riferrei/32/1848_2.png) [@riferrei](https://forum.confluent.io/u/riferrei)\
**Post date:** [14 November 2022 14:31 UTC](https://forum.confluent.io/t/building-your-own-kafka-connect-connectors-complete-example/6524/1 "2022-11-14T14:31:58Z")

</div>

Hi there,

Sharing here this repository that I created on GitHub that contains a complete example of how to create a custom connector for Kafka Connect. This example contains:

✅ Complete source-code of a sample source connector with dynamic re-partitioning.  
✅ Docker Compose using Kafka Zookeepeerless from Confluent for local deployment.  
✅ Kafka Connect configured to allow remote debugging connection using JDWP.  
✅ Terraform code that shows how to programmatically deploy the connector at AWS.  
✅ Cloud deployment using Amazon MSK and MSK Connect. Complete example.

🧑🏻‍💻 GitHub repository:

> **[GitHub - build-on-aws/building-apache-kafka-connectors: Sample code that...](https://github.com/build-on-aws/building-apache-kafka-connectors)**
>
> Sample code that shows the important aspects of developing custom connectors for Kafka Connect. It provides the resources for building, deploying, and running the code on-premises using Docker, as ...

Also, very soon I’ll be creating and publishing a complete tutorial about this code on the **BuildOnAWS** YouTube channel. I’ll discuss the design decisions, schema management choices, the trade-offs, the implementation gotchas, and everything you need to understand about the Kafka Connect SDK. Make sure to subscribe to the channel do you don’t miss it.

🎥 BuildOnAWS channel:

> **[Build On AWS](https://www.youtube.com/c/BuildOnAWS)**
>
> Hello there, tech geeks! We’re glad you’re here. Build On AWS is for the hands-on, technical AWS cloud builder who wants to become more agile, and innovate faster. If that’s you, welcome! Here you will find dynamic, high-quality content that is...

Sincerely,

— @riferrei

---

<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:** [14 December 2022 14:32 UTC](https://forum.confluent.io/t/building-your-own-kafka-connect-connectors-complete-example/6524/2 "2022-12-14T14:32:33Z")

</div>

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