Versions Compared

Key

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

...

This KIP should be transparent to users not interested in setting this new configuration. Users wanting to take advantage of this new feature will just need to add this new settings to their consumer's properties.

Rejected Alternatives

...

  • Use bounded memory pool to control memory usage (KIP-72):

    While this might be the best way to handle that on the server side it's unclear if this would suit the client well. First, it's pretty complicated and while on the server that's acceptable for robustness, on the client side, simplicity and ease of configuration might be more important. Also this works well on the server side because the server doesn't know what sort of requests it will receive, the client usually has a rough idea of how many brokers it will be connected too hence of many fetches it will do in parallel.