mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Start building against Spring Kafka 3.2.0 snapshots
See gh-39897
This commit is contained in:
parent
c630bad519
commit
25ffa09731
@ -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);
|
||||
}
|
||||
|
@ -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"));
|
||||
});
|
||||
}
|
||||
|
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user