Reputation: 399
I have a requirement as follows
Currently this requirement is done in Java. Since the devices are increasing so as the computations, I would like to know if Spark/Spark Streaming can be applied to this scenario?Any articles with respect to these kind of requirements can be shared so that it will be of great help.
Upvotes: 4
Views: 167
Reputation: 987
If, and this is a big if, the computations are going to be device-wise, you can make use of topic partitions and scale the number of partitions with the number of devices. The messages are delivered in order per partition this is the most powerful idea that you need to understand.
However, some words of caution:
You can check this. https://www.confluent.io/blog/how-choose-number-topics-partitions-kafka-cluster
Upvotes: 1