redpanda-data / redpanda-data/console
No default topicName for serde CBOR
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 432
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 40
Description
The serde.cbor.topicName has no default value set in code. This produces errors in ui when selecting CBOR as value format. The error reads cbor encoding not configured for topic: topic-name. Appropriate fix is to add regex matching all characters (that is even mentioned in comments as the default).
I have also another question, why the msgpack config uses topicNames as array and CBOR topicName as a single value?
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 or test is named. Locate the serde.cbor.topicName configuration and the comment describing its default, then reproduce the UI error when selecting CBOR as the value format. Done means CBOR selection no longer reports that encoding is unconfigured and the default matches the documented all-character regex.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100