Versions Compared

Key

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

Table of Contents

Status

Current state: Under DiscussionAccepted

Discussion thread: here

JIRA: KAFKA-9101

Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).

...

There will be a new broker-side configuration, fetch.max.bytes.  The effective maximum size of any fetch request will be the minimum of the maximum fetch size the client requests, and this value.  The new value will be 75 55 megabytes by default.

Configuration NameTypeDefault ValueImportance
fetch.max.bytes
LONG
INT
75
55 * 1024 * 1024HIGH

Fetch request from replicas will also be affected by the fetch.max.bytes limit.

Compatibility, Deprecation, and Migration Plan

Existing clients will continue to work, even if they have set a larger fetch.max.bytes than the one set on the server.  They will simply receive a little less data than before.  Clients must be prepared to handle receiving less than the maximum fetch size in any case.

...