As a beginner I try to follow the steps described in Getting Started with Manual Installation.
I can download and start the Spring Cloud Data Flow Local Server and the Spring Cloud Data Flow shell.
Then I go on with Deploying Streams
Welcome to the Spring Cloud Data Flow shell. For assistance hit TAB or type "help".
dataflow:>app register --name http --type source --uri maven://org.springframework.cloud.stream.app:http-source-rabbit:1.2.0.RELEASE
Successfully registered application 'source:http'
dataflow:>app register --name log --type sink --uri maven://org.springframework.cloud.stream.app:log-sink-rabbit:1.1.0.RELEASE
Successfully registered application 'sink:log'
Then I try create a stream with:
dataflow:>stream create --name httptest --definition "http --server.port=9000 | log" --deploy
Created new stream 'httptest'
Deployment request has been sent
And then send some data, which fails:
dataflow:>http post --target http://localhost:9000 --data "hello world"
> POST (text/plain) http://localhost:9000 hello world
> 500 INTERNAL_SERVER_ERROR
> 500 INTERNAL_SERVER_ERROR
{
"exception" : "org.springframework.messaging.MessageHandlingException",
"path" : "/",
"error" : "Internal Server Error",
"message" : "error occurred in message handler [org.springframework.integration.amqp.outbound.AmqpOutboundEndpoint@20eacb00]; nested exception is org.springframework.amqp.AmqpConnectException: java.net.ConnectException: Connection refused (Connection refused)",
"timestamp" : 1546968872545,
"status" : 500
}
Error sending data 'hello world' to 'http://localhost:9000'
I can see from the log file of the log application, that something goes wrong. But as a beginner I do not really have an idea how to go on or fix the problem.
Any ideas?