Skip to content

feat: Add support for resetting a Writer back by a clearable buffer - #469

Merged
Kriskras99 merged 3 commits into
mainfrom
feat/resetable_writer
Feb 19, 2026
Merged

Kriskras99 merged 3 commits into
mainfrom
feat/resetable_writer

Conversation

@Kriskras99

Copy link
Copy Markdown
Contributor

This means the schema doesn't have to be resolved every time a new "file" is started.

I created the Clearable trait so users can also use their own buffer types (like Bytes).

Comment thread avro/src/writer.rs Resolved
Comment thread avro/src/writer.rs Resolved
Comment thread avro/src/writer.rs Resolved
Comment thread avro/src/writer.rs Resolved
Comment thread avro/src/writer.rs Resolved
@Kriskras99

Copy link
Copy Markdown
Contributor Author

@martin-g it now also regenerates the sync marker, and I've simplified the implementation for generating the sync marker.

@martin-g

Copy link
Copy Markdown
Member

@martin-g it now also regenerates the sync marker, and I've simplified the implementation for generating the sync marker.

Awesome!

@Kriskras99
Kriskras99 merged commit d57d3d4 into main Feb 19, 2026
21 checks passed
@Kriskras99
Kriskras99 deleted the feat/resetable_writer branch February 19, 2026 09:58
@martin-g martin-g added this to the 0.22.0 milestone Feb 19, 2026
@Kriskras99 Kriskras99 mentioned this pull request Jun 28, 2026
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.

2 participants