Prevent camunda process instances running same delegate concurrently

Is there a Java code example. In the service task I select “external” but not sure what should be the value of Topic
https://www.youtube.com/watch?v=8DXoV_OGo7s
https://www.youtube.com/watch?v=k-rS2CujP8k

https://forum.camunda.io/t/limit-number-of-concurrent-executions-in-an-activity/8812