vectordotdev / vectordotdev/vector

Split `Bytes` data type into two separate types

Open
#1,377 3 comments 2 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.