# Kafka connect sink

**URL:** <https://community.cratedb.com/t/kafka-connect-sink/454>\
**Category:** Integrations\
**Created:** [July 10, 2020, 11:14pm UTC](https://community.cratedb.com/t/kafka-connect-sink/454 "2020-07-10T23:14:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cande1gut](https://avatars.discourse-cdn.com/v4/letter/c/65b543/32.png) [@cande1gut](https://community.cratedb.com/u/cande1gut)\
**Post date:** [July 10, 2020, 11:14pm UTC](https://community.cratedb.com/t/kafka-connect-sink/454/1 "2020-07-10T23:14:14Z")

</div>

Hi,

I am trying to replicate this tutorial to connect CrateDB to Kafka sink connector from confluent: [https://crate.io/docs/crate/howtos/en/latest/integrations/kafka-connect.html](https://crate.io/docs/crate/howtos/en/latest/integrations/kafka-connect.html), but I am stuck after registering the JSON connector config, nothing happens after I upload it. I can see metrics data being generated if I open a consumer but nothing is inserted in the database through the connector. Am I missing something?

I appreciate the help, thanks.

---

<div class="post-metadata">

**Author:** ![cande1gut](https://avatars.discourse-cdn.com/v4/letter/c/65b543/32.png) [@cande1gut](https://community.cratedb.com/u/cande1gut)\
**Post date:** [July 14, 2020, 1:21am UTC](https://community.cratedb.com/t/kafka-connect-sink/454/2 "2020-07-14T01:21:39Z")

</div>

Hi again,

I was able to run CrateDB as a sink after importing the JDBC for Crate into the JDBC connectors. In the beginning I was using postgres JDBC but it was throwing me this error:

 ![Screen Shot 2020-07-13 at 6.54.46 PM](https://us1.discourse-cdn.com/flex020/uploads/crate/original/1X/95f1affa88ee53bbc3c9d0e2a6fbd063b6e2710d.png)

After importing Crate’s JDBC, creating a table and declaring the connector everything worked. But something that I would like to know is if one can create a table with kafka’s REST API option: “auto.create”: true, since if a table is not created yet it throws the following:

 ![Screen Shot 2020-07-13 at 7.16.19 PM](https://us1.discourse-cdn.com/flex020/uploads/crate/original/1X/86bcb9d0dcc9b0407462ee1ee657506cbb002945.png)

Thank you.
