Skip to content

BE: Serde: Format non-string headers appropriately #919

@ravetdavid

Description

@ravetdavid

Issue submitter TODO list

  • I've searched for an already existing issues here
  • I'm running a supported version of the application which is listed here and the feature is not present there

Is your proposal related to a problem?

No response

Describe the feature you're interested in

Headers are always printed like String. For example, for an epoch in an header, the Long value is not discovered and not rendered as Long.

AKHQ does the job with the code (https://github.com/tchiotludo/akhq/blob/dev/src/main/java/org/akhq/utils/ContentUtils.java#L74-L98)

In case of a value not in uTF8, Long, Short then the bytes are printed in hexa.

Describe alternatives you've considered

No response

Version you're running

1.1.0

Additional context

No response

Metadata

Metadata

Labels

area/serdeSerialization & Deserialization (plugins)good first issueUp for grabsscope/backendRelated to backend changesstatus/triage/completedAutomatic triage completedtype/enhancementEn enhancement/improvement to an already existing feature

Projects

Status

Done

Status

Active

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions