Skip to content

fix: make Avro reader buffer size configurable#447

Merged
wgtmac merged 3 commits intoapache:mainfrom
shangxinli:bug_fixes_avro_buffer_size
Dec 29, 2025
Merged

fix: make Avro reader buffer size configurable#447
wgtmac merged 3 commits intoapache:mainfrom
shangxinli:bug_fixes_avro_buffer_size

Conversation

@shangxinli
Copy link
Copy Markdown
Contributor

Add ReaderProperties::kAvroBufferSize property to allow users to configure the Avro input stream buffer size instead of using a hardcoded 1MB value.

Changes:

  • Add kAvroBufferSize property to ReaderProperties (default: 1MB)
  • Update AvroReader to use the configurable buffer size
  • Remove TODO comment about making this configurable

shangxinli and others added 3 commits December 28, 2025 12:13
Add ReaderProperties::kAvroBufferSize property to allow users to
configure the Avro input stream buffer size instead of using a
hardcoded 1MB value.

Changes:
- Add kAvroBufferSize property to ReaderProperties (default: 1MB)
- Update AvroReader to use the configurable buffer size
- Remove TODO comment about making this configurable
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Validate that the Avro buffer size can be configured via:
- Set() method with custom value
- FromMap() with configuration map
- Unset() to return to default

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@wgtmac wgtmac merged commit 4657dcd into apache:main Dec 29, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants