sky-uk / cqlmigrate

Cassandra schema migration library
BSD 3-Clause "New" or "Revised" License
47 stars 29 forks source link

Consider making clientId configurable #80

Open mkobit opened 5 years ago

mkobit commented 5 years ago

Right now, it is hard coded to always be a unique UUID

https://github.com/sky-uk/cqlmigrate/blob/df29e94648856e81929c6c6f88cbdde9cbc70f21/src/main/java/uk/sky/cqlmigrate/LockConfig.java#L49

It might be useful to derive that from a client's perspective, for example from a service that is running multiple pods in Kubernetes so the locks can be traced back.