Skip to content

Bug: wrong subject displayed in case of identical schema #2221

@gaetancollaud

Description

@gaetancollaud

I've 2 topics with the exact same schema. The schema registry shows 2 distinct subjects (one per topic value). But since the schema are the same, the registry (in my case redpanda) only uses one id for both.

The API returns the 2 subjects as expected

$ curl http://localhost:8081/schemas/ids/14/versions | jq .
[
  {
    "subject": "topic-v3-value",
    "version": 3
  },
  {
    "subject": "topic-v2-value",
    "version": 3
  }
]

But when displaying a topic, the UI only take the first one in consideration and doesn't check that the subject concerns a topic. In the screenshot below, the topic topic-v2 displays the subject topic-v3-value. And when I click on it, of course I go to the wrong subject.

Image

I know this depends on the naming strategy but I would expect the UI to follow the TopicNameStrategy if possible.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions