Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 009 module to use @Identifier instead of @nAmed to inject broker
This change is related to quarkusio/quarkus@11bc00f. The problem is that keeping injecting the default Kafka broker using `@Named` is now failing: ```java @ApplicationScoped public class KafkaProviders { @Inject @nAmed("default-kafka-broker") Map<String, Object> config; } ``` Using: ```java @ApplicationScoped public class KafkaProviders { @Inject @Identifier("default-kafka-broker") Map<String, Object> config; } ``` It works. Therefore, this is a breaking change that should be noted in the Migration guide for 2.x.
- Loading branch information