【发布时间】:2014-07-08 10:36:19
【问题描述】:
我希望在 spring-xd 容器启动时创建一个流,而不必通过 xd-shell 手动输入它。我想要;
1. 启动 xd-singlenode(通过 bash 调用)
2. 在容器启动后部署一个预先创建的流定义(例如http --port=8080 | file)
我知道有一个要调用的 url (curl -POST http://127.0.0.1:9393/streams?name=mystream&definition=http|file),但我在指定其他配置时遇到了麻烦(例如 --port=8080),并且管道 (|) 也造成了一些麻烦。
谢谢
【问题讨论】:
标签: spring-xd