Versions Compared

Key

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

...

There are many use cases where it’s acceptable from the business logic point of view for a produced record to be appended to any partition of a multi-partition topic. The current default partitioning algorithm takes advantage of this and periodically rotates target partitions (if the partition and key are not set), also taking into account partition load statistics.

...

Public Interfaces

Configuration Keys

Key NameDescriptionValid ValuesDefault Value

partitioner.rack.aware

Controls whether the default partitioner is rack-aware.

true, falsefalse

client.rack

(already exists for consumers)

Specifies the rack of the client

strings

Documentation

The introduced changes will be reflected in the documentation, namely in the documentation to the partitioner.class config, which explains the algorithm to the user.

...