Remove call to deprecated method in Spring Kafka

This commit is contained in:
Soby Chacko
2022-02-15 11:42:46 -05:00
parent c472b185be
commit e848ec8051

View File

@@ -679,7 +679,7 @@ public class KafkaMessageChannelBinder extends
concurrency = extendedConsumerProperties.getConcurrency(); concurrency = extendedConsumerProperties.getConcurrency();
} }
resetOffsetsForAutoRebalance(extendedConsumerProperties, consumerFactory, containerProperties); resetOffsetsForAutoRebalance(extendedConsumerProperties, consumerFactory, containerProperties);
containerProperties.setAuthorizationExceptionRetryInterval(this.configurationProperties.getAuthorizationExceptionRetryInterval()); containerProperties.setAuthExceptionRetryInterval(this.configurationProperties.getAuthorizationExceptionRetryInterval());
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
final ConcurrentMessageListenerContainer<?, ?> messageListenerContainer = new ConcurrentMessageListenerContainer( final ConcurrentMessageListenerContainer<?, ?> messageListenerContainer = new ConcurrentMessageListenerContainer(
consumerFactory, containerProperties) { consumerFactory, containerProperties) {