Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
是否可以在SpringCloudStreams中执行一些post操作_Spring_Spring Cloud_Apache Kafka Streams_Spring Cloud Stream - Fatal编程技术网

是否可以在SpringCloudStreams中执行一些post操作

是否可以在SpringCloudStreams中执行一些post操作,spring,spring-cloud,apache-kafka-streams,spring-cloud-stream,Spring,Spring Cloud,Apache Kafka Streams,Spring Cloud Stream,我有一个spring cloud stream应用程序,它有一个处理器功能,如下所示: @Bean public Function<KStream<InK, InV>, KStream<OutK, OutV>> process() { return input -> input .doSomeStuff() .doAnotherStuff(); } @Bean 公共职能流程(){ 返回输入->

我有一个spring cloud stream应用程序,它有一个处理器功能,如下所示:

@Bean
public Function<KStream<InK, InV>, KStream<OutK, OutV>> process() {
    return input -> input
             .doSomeStuff()
             .doAnotherStuff();
}
@Bean
公共职能流程(){
返回输入->输入
.doSomeStuff()
.doatherstuff();
}
在消息流被发送到目的地后,是否有办法对其执行某些操作(例如保存到DB)