-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
Milestone
Description
Feature request
PROBLEM
Currently, mapping id's to classes is, for example, done through configuration beans. There a TypePrecedence, mapping and TypeMapper can be configured. For any additional message, you also have to add changes to your configuration.
SUGGESTED SOLUTION
It would be nice if setting this configuration could be simplified by annotating a class with, for example:
@KafkaMessage(typeId = "foo")
public class Bar {}
Upon setting this annotation, the TypePrecedence and a default TypeMapper could be set as well.
frosiere