Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Include ms in config name,

...

Introduce a new client config for producer consumer and admin client `reconnect.backoff.max` max.ms` defined as:

The maximum amount of time in milliseconds to wait when reconnecting to a broker that has repeatedly failed to connect. If provided, the backoff per host will increase exponentially for each consecutive connection failure, up to this maximum. To avoid connection storms, a randomization factor of 0.2 will be applied to the backoff resulting in a random range between 20% below and 20% above the computed value.

...

  1. Provide a pluggable interface for reconnect attempts like in KIP-53: it seems like we can provide the desired functionality via a single config so pluggability is not worth the additional complexity.
  2. Default `reconnect.backoff.max.max` ms` to the same value as `reconnect.backoff.backoff` ms` so that existing behaviour is always maintained: for the reasons explained in the compatibility section
  3. Default `reconnect.backoff.max.max` ms` to `1000ms` unconditionally: for the reasons explained in the compatibility section.

...