Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse Event from a ByteBuffer #130

Closed
istreeter opened this issue Nov 20, 2023 · 0 comments
Closed

Parse Event from a ByteBuffer #130

istreeter opened this issue Nov 20, 2023 · 0 comments

Comments

@istreeter
Copy link
Contributor

This is part of my drive to reduce how many times we are copying data in memory.

Snowplow apps downstream of Enrich need to parse a TSV line to get an Event. The TSV line enters the app as an array of bytes (or a byte buffer). Until now, we always convert the bytes into a string, and then afterwards parse the string into an Event. But it should be possible to do it in a single step from a byte buffer.

@pondzix pondzix closed this as completed in 374eb17 Dec 1, 2023
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

No branches or pull requests

1 participant