Reputation:
I have Kafka stream that makes intermediate calculations then puts is to mongodb.
Problem is that mongodb can not handle a lot of inserts form Kafka stream.
How do you solve this issue?
Upvotes: 0
Views: 90
Reputation: 1360
I think you'll want to write the intermediate results out to a topic. Then use the MongoDB Connector to write to MongoDB. Kafka Connect is the preferred way to write to external systems from a Kafka topic. Here's the documentation for Kafka Connect
Upvotes: 2