Skip to content

Allow preencoded log entries - #99

Merged
woswos merged 3 commits into
masterfrom
rs-allow-preencoded-log-entries
Aug 14, 2026
Merged

Allow preencoded log entries#99
woswos merged 3 commits into
masterfrom
rs-allow-preencoded-log-entries

Conversation

@rschlaikjer

Copy link
Copy Markdown
Contributor

To avoid malformed data failing a batch, some callers verify that each log entry encodes properly by serializing it to json themselves first. However, as written, the client only accepts dicts, so the data ends up serialized twice.

Allow passing the raw serialized bytes directly so that there's no need to duplicate work.

@rschlaikjer
rschlaikjer requested a review from woswos August 12, 2026 14:37
@woswos
woswos merged commit 1830515 into master Aug 14, 2026
1 check passed
@woswos

woswos commented Aug 14, 2026

Copy link
Copy Markdown
Member

Thank you!

@rschlaikjer
rschlaikjer deleted the rs-allow-preencoded-log-entries branch August 14, 2026 02:21
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