Start building against Spring Kafka 3.2.0 snapshots

See gh-39897
This commit is contained in:
Andy Wilkinson 2024-03-11 20:36:31 +00:00
parent c630bad519
commit 25ffa09731
3 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2023 the original author or authors.
* Copyright 2012-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -237,7 +237,7 @@ public class ConcurrentKafkaListenerContainerFactoryConfigurer {
map.from(properties::isMissingTopicsFatal).to(container::setMissingTopicsFatal);
map.from(properties::isImmediateStop).to(container::setStopImmediate);
map.from(properties::isObservationEnabled).to(container::setObservationEnabled);
map.from(this.transactionManager).to(container::setTransactionManager);
map.from(this.transactionManager).to(container::setKafkaAwareTransactionManager);
map.from(this.rebalanceListener).to(container::setConsumerRebalanceListener);
map.from(this.listenerTaskExecutor).to(container::setListenerTaskExecutor);
}

View File

@ -743,7 +743,7 @@ class KafkaAutoConfigurationTests {
assertThat(context).hasSingleBean(KafkaAwareTransactionManager.class);
ConcurrentKafkaListenerContainerFactory<?, ?> factory = context
.getBean(ConcurrentKafkaListenerContainerFactory.class);
assertThat(factory.getContainerProperties().getTransactionManager())
assertThat(factory.getContainerProperties().getKafkaAwareTransactionManager())
.isSameAs(context.getBean(KafkaAwareTransactionManager.class));
});
}
@ -758,7 +758,7 @@ class KafkaAutoConfigurationTests {
.run((context) -> {
ConcurrentKafkaListenerContainerFactory<?, ?> factory = context
.getBean(ConcurrentKafkaListenerContainerFactory.class);
assertThat(factory.getContainerProperties().getTransactionManager())
assertThat(factory.getContainerProperties().getKafkaAwareTransactionManager())
.isSameAs(context.getBean("customTransactionManager"));
});
}

View File

@ -1891,7 +1891,7 @@ bom {
releaseNotes("https://github.com/spring-projects/spring-integration/releases/tag/v{version}")
}
}
library("Spring Kafka", "3.2.0-M1") {
library("Spring Kafka", "3.2.0-SNAPSHOT") {
considerSnapshots()
group("org.springframework.kafka") {
modules = [