davsclaus opened a new pull request, #30789: URL: https://github.com/apache/camel/pull/30789
_Claude Code on behalf of Claus Ibsen (davsclaus)_ [CAMEL-25021](https://issues.apache.org/jira/browse/CAMEL-25021) reported that the Kafka consumer stalls forever, without logging anything, on a record larger than `max.partition.fetch.bytes` (1 MB by default). That doesn't happen: since KIP-74 (Kafka 0.10.1), the broker returns the first record batch of a fetch even when it is bigger than this limit, so the consumer keeps moving. The new `KafkaConsumerLargeRecordIT` reproduces the scenario from the ticket: a small record, a 3 MB record and another small record on a topic with `max.message.bytes` set to 10 MB, consumed with the default `maxPartitionFetchBytes`. All three records arrive. The test passes against a Kafka 4.4.0 broker and a 3.9.1 broker (the version Camel 4.14.x uses). The description of `maxPartitionFetchBytes` still said "the consumer can get stuck trying to fetch a large message", which is pre-KIP-74 wording and probably what misled the reporter. This PR: - replaces it with the wording from the current Kafka documentation (the same style `fetchMaxBytes` already uses) - fixes the `// fetch.min.bytes` copy-paste comment above `fetchMaxBytes` - regenerates the catalog and the component and endpoint DSLs The JIRA is resolved as Cannot Reproduce. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
