Skip to content

Add support for Payload Kafka Key Types #563

@Sonic-Rage

Description

@Sonic-Rage

We utilize an Object as a Key to send events with Kafka. It would be great if the scanner could recognize objects used for Kafka Keys to add the schemas automatically to message binding.

Here is a sample of a listener that we use with Spring Kafka

@KafkaHandler
public void consumeMessage(
@headers MessageHeaders headers,
@Header(KafkaHeaders.RECEIVED_KEY) KeyObject key,
@payload(required = false) PayloadObject payload) {

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