redpanda-data / redpanda-data/console

No default topicName for serde CBOR

Open Beginner friendly
#2,487 0 comments 0 reactions 0 assignees View on GitHub

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.