SASL Authentication Error with Separate Clusters and Access Levels #2937
-
Description: Issue: The error message is as follows: Authentication failed during authentication due to invalid credentials with SASL mechanism SCRAM-SHA-512. Configuration details for Kafka admin, producer and consumer.
Environment: Spring Boot version: 3.2.0 Steps to Reproduce:
Expected Behavior: Actual Behavior: Additional Information: Logs
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
It looks like your user does not have permissions to obtain cluster info from admin:
Starting with version
See similar discussion: #2923 |
Beta Was this translation helpful? Give feedback.
The
kafkaListenerContainerFactory
bean in the Spring Boot auto-configuration expects this: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.