This repository was archived by the owner on May 14, 2025. It is now read-only.

Description
When the Spring Cloud DataFlow Server in the Kubernetes environment tries to launch pods for many tasks(200+), we have encountered scenarios where duplicate Pod id is generated for 3-4 pods. I have looked at the code generating the id, and it encodes the timestamp in milliseconds using the hashid library.
Multiple tasks end up launched simultaneously and with the same pod id. Can we introduce randomness here or another way to ensure pod id uniqueness is not dependent on only the timestamp?