Spring Cloud Stream & SCDFを試してみると、とても簡単です(通常はSpringがそうしているように)。 しかし、何かにつまずいた。私は次のエントリを持つapplication.propertiesを持っています。これはプロセッサアプリケーションです。Spring Cloud Data Flow Serverのapplication.propertiesは無視されます
spring.cloud.stream.bindings.input.destination=work.in
spring.cloud.stream.bindings.input.contentType=text/plain
spring.cloud.stream.bindings.input.binder=rabbit
spring.cloud.stream.bindings.input.group=testgroup
spring.cloud.stream.bindings.output.destination=work.out
spring.cloud.stream.bindings.output.contentType=text/plain
spring.cloud.stream.bindings.output.binder=rabbit
spring.cloud.stream.bindings.output.group=testgroup
私は(ちょうど別の春ブーツアプリのような)スタンドアロン瓶として、これを実行すると、予想通り、それはapplication.propertiesと、すべての作品を称えます。
私はSCDFを使用してストリームを作成すると、それはプロパティを無視し、私が意図したものではありません慣例stream_name.app_nameを使用して交換を作成します。
私はいつかどこにいても、私はこれらのアプリをSpring-Cloud設定サーバーと統合して、さまざまなソースからconfigsを完全に外部化できるようにしたいと考えています。
私は、SCDFが私のapplication.propertiesをピックアップし、SCDFがSpring Cloud Config Serverで動作するようにするために何が欠けているのかを提案できますか?すべてのポインタは、ありがとう、ありがとう。