0

I would like to use Kafka Source/Sink in SpringCloud Dataflow but I cannot find thes app-starters in spring-cloud-stream-app-starters. They were available in Spring XD. Does anyone knows why they disappeared ?

Thanks

LGI
  • 3
  • 1
  • You can find them here: source- > https://github.com/spring-cloud/spring-cloud-stream-samples/tree/master/source and sink-> https://github.com/spring-cloud/spring-cloud-stream-samples/tree/master/sink . – MojoJojo Mar 20 '17 at 15:46

1 Answers1

0

Use a named destination as the source/sink and set headerMode=raw if the producer (for a source) or consumer (for a sink) is not a Spring Cloud Stream app.

dataflow:>stream create foo --definition ":myTopic > log --inputType=text/plain"

dataflow:>stream deploy --name foo --properties app.log.consumer.headerMode=raw
Gary Russell
  • 166,535
  • 14
  • 146
  • 179