How to reserve a Thread/CoRE for Spring’s scheduled job
So I have an application running on:
Sequential processing for Identical request payload, where as parallel processing for non-identical payloads
I have a Kafka consumer written in springboot application, which consumes the payload from Kafka topic called matchupdates, process it and save it to database. Since I am having huge updates receiving for the match, respective payload can be identified using the matchId.
consider following are the payloads which springboot service consumes, where M1,M2 are nothing but the matchId, and respective updates denotes the fields.