<Failed to config kafkaTemplate> Using kotlin and ...
# stackoverflow
r
Failed to config kafkaTemplate Using kotlin and spring boot, I have set simple kafka config codes. @Configuration class KafkaProducerConfig( @Value("\${kafka.hosts}") private val hosts: String, @Value("\${kafka.retry.interval}") private val interval: Int, @Value("\${kafka.retry.max-attempts}") private val maxAttempts: Int, ) { @Bean fun myRetryTopic(kafkaTemplate: KafkaTemplate): RetryTopicConfiguration { return RetryTopicConfigurationBuilder .newInstance()...