vectordotdev / vectordotdev/vector
Split `Bytes` data type into two separate types
Open
Nobody has claimed this yet.
domain: data model
domain: logs
needs: approval
needs: requirements
type: tech debt
- Dominant language
- Rust
- Stars
- 22.6k
- Forks
- 2.3k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 146
Description
It is interesting to explore splitting single Bytes data type into two, one for UTF-8 strings and another for raw byte sequences. See https://github.com/timberio/vector/issues/704#issuecomment-552033328 for details.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named. Start by reading the linked discussion for the rationale and then locate the Bytes type definition and its uses; done means agreeing on and implementing the two-type design across affected behavior and tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- stream-processing
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100