Upgrade to SIK-3.0
* Fix Kafka Java DSL sample from bean name conflict * Fix usage of deprecated `org.springframework.integration.test.util.SocketUtils`
This commit is contained in:
@@ -108,7 +108,7 @@ public class Application {
|
||||
}
|
||||
|
||||
@Bean
|
||||
public IntegrationFlow fromKafka(ConsumerFactory<?, ?> consumerFactory) {
|
||||
public IntegrationFlow fromKafkaFlow(ConsumerFactory<?, ?> consumerFactory) {
|
||||
return IntegrationFlows
|
||||
.from(Kafka.messageDrivenChannelAdapter(consumerFactory, this.properties.getTopic()))
|
||||
.channel(c -> c.queue("fromKafka"))
|
||||
|
||||
Reference in New Issue
Block a user