Proposal: Ability to configure msgpack encoding, e.g. to ignore undefined properties
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- nodejs, typescript
Research direction
The issue names FluentClient configuration and the msgpack encoder as the starting points; trace how client options reach encoding. Done means supporting configurable msgpack options, including ignoring undefined properties, while preserving existing behavior for clients without those options.
Written by the indexing model from the issue text.
Description
Hi 👋
Would it be helpful to anyone else if it were possible to configure the msgpack encoder.
For example msgpack has the option to ignoreUndefinedProperties, which is desirable in certain circumstances, eg. to reduce bandwidth or storage requirements.
Msgpack options could (for example) be provided with the client configuration. Something like:
const client = new FluentClient('tag', {
msgpackOptions: {
maxDepth: 42,
ingnoreUndefined: true,
// other msgpack options at https://github.com/msgpack/msgpack-javascript/blob/main/src/Encoder.ts#L15
}
}
Would be happy to throw something together if it's interesting.
Thanks in advance
- Dominant language
- TypeScript
- Stars
- 12
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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.
More from fluent/fluent-logger-forward-node
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
fluent/fluent-logger-forward-node#46 · 3 comments · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
fluent/fluent-logger-forward-node#32 · 6 comments ·
All issues in fluent/fluent-logger-forward-node
Similar issues
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Crush Open
Difficulty 1/5 Under an hour Newbie friendliness 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md Open
Difficulty 1/5 Under an hour Newbie friendliness 90/100
ElementsProject/cln-application#167 · 1 comment · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Quantco/pnpm-licenses#17 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100