Skip to content

SASL Authentication Error with Separate Clusters and Access Levels #2937

Closed Answered by artembilan
hemantmaersk asked this question in Q&A
Discussion options

You must be logged in to vote

The kafkaListenerContainerFactory bean in the Spring Boot auto-configuration expects this:

ObjectProvider<ContainerCustomizer<Object, Object, ConcurrentMessageListenerContainer<Object, Object>>> kafkaContainerCustomizer

I see that you do this ContainerCustomizer<String, GenericRecord, ConcurrentMessageListenerContainer<String, GenericRecord>>

It feels like Spring cannot inject your customizer because its generics don't fit into an expectations.
Consider to change its to the same same Object-based.

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@hemantmaersk
Comment options

@artembilan
Comment options

@hemantmaersk
Comment options

@artembilan
Comment options

Answer selected by hemantmaersk
@artembilan
Comment options

@hemantmaersk
Comment options

@hemantmaersk
Comment options

@artembilan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants