0

I'm trying to use AWS DocumentDB as a sink for storing data received from Kafka and was wondering if the MongoDB Kafka connector works with DocumentDB as its documentation mentions that it is compatible with MongoDB drivers.

https://www.mongodb.com/docs/kafka-connector/current/

https://aws.amazon.com/documentdb/

If not this connector what is the alternate way other than building a custom kafka connect?

1
  • What specific errors do you get when you try? Commented May 31, 2022 at 21:09

1 Answer 1

1

You can use MongoDB Kafka connector with DocumentDB for source as well Sink. Kafka Connector worker(with Mongodb Kafka connector) can be run in distributed mode using containers as well as EC2 hosts.

You can refer blog here which has step by step details https://aws.amazon.com/blogs/database/stream-data-with-amazon-documentdb-and-amazon-msk-using-a-kafka-connector/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.