Use Bull with Redis Cluster by leveraging hash tags
Bull internals require atomic operations that span different keys. This behavior breaks Redis’s rules for cluster configurations. However, it is still possible to use a cluster environment by using the proper Bull prefix option as a cluster hash tag.
Hash tags are used to guarantee that certain keys are placed in the same hash slot. A hash tag is defined with brackets. A key that has a substring inside brackets will use that substring to determine in which hash slot the key will be placed.
Critical: Without hash tags, Bull will not work correctly with Redis Cluster because atomic operations will fail when they span keys in different slots.