Skip to content

@Reflective and ReflectiveProcessor support for KafkaListener #2765

Answered by garyrussell
MatejNedic asked this question in Ideas

You must be logged in to vote

See

/**
* {@link RuntimeHintsRegistrar} for Spring for Apache Kafka.
*
* @author Gary Russell
* @since 3.0
*
*/
public class KafkaRuntimeHints implements RuntimeHintsRegistrar {

We did add some code to detect AVRO types in listener methods, but everything works without @Reflective on @KafkaListener.

/**
* Detect and register Avro types for Apache Kafka li…

Replies: 2 comments 3 replies

You must be logged in to vote
1 reply
@MatejNedic

Answer selected by MatejNedic

You must be logged in to vote
2 replies
@garyrussell

@MatejNedic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants