redpanda-data / redpanda-data/console

64 bit number values are not not displayed correctly

Open
#630 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug frontend
Dominant language
TypeScript
Stars
4.3k
Forks
432
Avg merge
3d 6h
Merged PRs (30d)
40

Description

Hi, I have discovered an issue where if a kafka message contains int64 fields, they are not displayed correctly.

Example:

image

the TransId field actually has the value 73314510714175488, but is displayed as 73314510714175490

Seems like a JavaScript issue where they can only handle max 53 bit numbers?

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 in the issue. Reproduce the display using a Kafka message containing an int64 value such as 73314510714175488, then trace how that value is handled in the UI. Done means the displayed value matches the original int64 value without precision loss.

Written by the indexing model from the issue text.

Assessment

Tech stack
kafka, react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.