类 KeySharedPolicy.KeySharedPolicySticky

  • 封闭类:
    KeySharedPolicy

    public static class KeySharedPolicy.KeySharedPolicySticky
    extends KeySharedPolicy
    Sticky attach topic with fixed hash range.

    Total hash range size is 65536, using the sticky hash range policy should ensure that the provided ranges by all consumers can cover the total hash range [0, 65535]. If not, while broker dispatcher can't find the consumer for message, the cursor will rewind.