-
Notifications
You must be signed in to change notification settings - Fork 88
Closed
Labels
Description
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) {