Skip to content

Commit

Permalink
Suppress Spring Kafka deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
scottfrederick committed Mar 2, 2023
1 parent 956b9e0 commit f28bb22
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ public KafkaAdmin kafkaAdmin() {
@Bean
@ConditionalOnProperty(name = "spring.kafka.retry.topic.enabled")
@ConditionalOnSingleCandidate(KafkaTemplate.class)
@SuppressWarnings("deprecation")
public RetryTopicConfiguration kafkaRetryTopicConfiguration(KafkaTemplate<?, ?> kafkaTemplate) {
KafkaProperties.Retry.Topic retryTopic = this.properties.getRetry().getTopic();
RetryTopicConfigurationBuilder builder = RetryTopicConfigurationBuilder.newInstance()
Expand Down

0 comments on commit f28bb22

Please sign in to comment.