The child specification identifier will be the same for simple_one_for_one
supervisors since there is only one child type and many child instances (workers) of this type.
From the supervisor
behaviour docs:
Notice that when the restart strategy is
simple_one_for_one
, the list of child specifications must be a list with one child specification only. (The child specification identifier is ignored.) No child process is then started during the initialization phase, but all children are assumed to be started dynamically usingstart_child/2
.