Processor App in Spring Boot 2.2.4/Hoxton.SR1 not working in Spring Cloud Data Flow 2.4.1

前端 未结 2 1099
梦谈多话
梦谈多话 2021-01-28 11:08

I am trying to develop a new application to work on SCDF 2.4.1 and Skipper 2.3.1

I took the samples from https://github.com/sabbyanandan/stream-programming-models

2条回答
  •  时光说笑
    2021-01-28 11:38

    For function based stream modules to work with SCDF, you need to add the appropriate binding name properties to input and output to your application properties as described here: https://cloud.spring.io/spring-cloud-static/spring-cloud-stream/3.0.3.RELEASE/reference/html/spring-cloud-stream.html#_functional_binding_names

    Essentially, this maps the functional binding endpoint names to the SCDF endpoint names, input and output. For example, if you have a Function `foo':

    spring.cloud.stream.function.bindings.foo-in-0=input spring.cloud.stream.function.bindings.foo-out-0=output

    .Future releases of the prepackaged stream modules will use the Functional paradigm and will provide these properties automatically.

提交回复
热议问题