Skip to content

Messages produce: Support TopicRecordNameStrategy & RecordNameStrategy #1361

Open
@iliax

Description

@iliax

Is your proposal related to a problem?

Currently when producing message only TopicNameStrategy used to search appropriate subjects. If subject is not found by this strategy message is written as raw text. If user uses TopicRecordNameStrategy or RecordNameStrategy text msg will be written which can break downstream consumption.

Describe the solution you'd like

  • on "Produce Message" page we should show which schema will be used for serialization
  • if no schema found by TopicNameStrategy for topic we should be able to specify schema explicitly - there should be a dropdown with all subject names
  • if schema not found and not specified then message will be treated as a text

Implementation

Backend:

  • add keySubject and valueSubject fields to produce endpoint

Frontend:

  • TODO: discuss

--
More details: #3244

Metadata

Metadata

Assignees

Labels

area/serdeSerialization & Deserialization (plugins)area/srSchema Registryscope/backendscope/frontendstatus/acceptedAn issue which has passed triage and has been acceptedtype/enhancementEn enhancement to an already existing feature

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions