Solutionunvalidated
Upon startup perform a max aggregate Mongo query to find highest number, store in an `AtomicLong` typed variable — Single JVM. Tension: If you have more than one JVM then you no option but to use some other mechanism to managed shared state. Outcome: That returns 100,101,102, etc on subsequent calls, use that value in your `ProductService.createProduct()`.
1ed934cf-0866-41e9-80c2-b7b8f5bef4c0
Upon startup perform a max aggregate Mongo query to find highest number, store in an AtomicLong typed variable — Single JVM. Tension: If you have more than one JVM then you no option but to use some other mechanism to managed shared state. Outcome: That returns 100,101,102, etc on subsequent calls, use that value in your ProductService.createProduct().