Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Sets to enable quorum authentication using SASL.

    Code Block
    titlezoo.cfg
    # Defaulting to false
    quorum.auth.enableSasl=true
  2. Sets to connect using quorum authentication. If this is true, quorum peer learner will send authentication packet to quorum peer server then proceeds with LE on successful authentication. If false, then proceeds with LE without any authentication. This can be used while upgrading ZooKeeper server.

    Code Block
    titlezoo.cfg
    # Defaulting to false
    quorum.auth.learnerRequireSasl=true
  3. Sets to connect using quorum authentication. If this is true, then all unauthenticated quorum peer learner connection requests will be rejected. If false, then quorum peer server will accept quorum peer learner connection request and then proceeds with Leader Election even if the authentication did not succeed. This can be used while upgrading ZK server.

    Code Block
    titlezoo.cfg
    # Defaulting to false
    quorum.auth.serverRequireSasl=true
  4. (Optional) If you want to use different login context for learner/server other than the default values, then configure the following.

    Code Block
    titlezoo.cfg
    # Defaulting to QuorumLearner
    quorum.auth.learner.loginContext=QuorumLearner
    
    # Defaulting to QuorumServer
    quorum.auth.server.loginContext=QuorumServer
  5. The maximum number of threads to allow in the “connectionExecutors” connectionExecutorsthread pool, which will be used to process quorum server connection requests during Leader Election. This has to be tuned depending on the cluster size. For example, consider a 3-node cluster, during quorum formation at least 3 outgoing connection requests and 3 incoming connection requests will occur. So total 6 threads will be used. It is recommended to configure 2x number of threads for smooth execution, where 'x' represents the cluster size.

    Code Block
    titlezoo.cfg
    # Defaulting to 20
    quorum.cnxn.threads.size=20

...