user13406409
user13406409

Reputation:

When database is bottle neck in Kafka pair?

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

Answers (1)

bbejeck
bbejeck

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

Related Questions