Using Spring XD 1.2.1 with Flo - Not seeing "create stream" under Streams tab - spring-xd

I'm trying to use the Flo UI in Spring XD 1.2.1. All of the tutorials/videos I've seen show a "create stream" tab. Video here: https://www.youtube.com/watch?v=17pLpcdIu_M shows what I'm referring to.
However, in my environment this tab does not exist. I can create a stream via the Spring XD shell but I want to try with Flo UI. Any ideas??

You need to replace the UI jar in /xd/lib with the flo-enabled one; see the links on the project page.

Related

Why that Spring Framework Documentation's table of contents is gone?

I remember there was a table of contents in the document before but now is gone.
That makes it inconvenient to find the specified chapter.
And I see the other's project still has the table of contents.
Is it something wrong with this doc page?
Spring Framework Documentation:
https://docs.spring.io/spring-framework/docs/current/reference/html/core.html
And others project like Spring Boot :
https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features
I have the same symptoms, but with Spring Framework project, not Spring Boot. I managed to download PDF versions of the topics. They're at:
https://docs.spring.io/spring-framework/docs/5.3.9/reference/pdf/core.pdf
https://docs.spring.io/spring-framework/docs/5.3.9/reference/pdf/testing.pdf
https://docs.spring.io/spring-framework/docs/5.3.9/reference/pdf/data-access.pdf
https://docs.spring.io/spring-framework/docs/5.3.9/reference/pdf/web.pdf
https://docs.spring.io/spring-framework/docs/5.3.9/reference/pdf/web-reactive.pdf
https://docs.spring.io/spring-framework/docs/5.3.9/reference/pdf/integration.pdf
https://docs.spring.io/spring-framework/docs/5.3.9/reference/pdf/languages.pdf
https://docs.spring.io/spring-framework/docs/5.3.9/reference/pdf/appendix.pdf
Both links lead to Spring features

Customise Banner In spring Shell 2

I have used spring Shell 1.x. It provided provision for customise the banner. I am not trying to use Spring shell 2 and trying to do that same but i cannot finding the class.
Document also does not speak about it. Do any body know how to customise the same?
Banner is now the responsibility of Spring Boot, as explained here. Just drop a banner.txt file in your resources and it should be picked up

Spring XD on YARN: ver 1.2.1 direct binding support for kafka source

Spring XD on YARN: ver 1.2.1 direct binding support for kafka source.
1.I know this is not supported yet(as of ver 1.3.0), any definite date/ver would help our project schedule ?
2.This direct binding for kafka source support is very critical for our project. We are in a situation to totally abandon Spring XD YARN in our project just because of this.
Trying to do
stream create --name directkafkatohdfs --definition "kafka | hdfs"
stream deploy directkafkatohdfs --properties "module.*.count=0"
Hitting the exception "must be a positive number. 0-count kafka sources are not currently supported"
I just want to eliminate the use of message bus/transport(redis/kafka/rabbitMQ) and want to have a direct binding of source(kafka) and sink(sink) in the same YARN container.
1.I know this is not supported yet(as of ver 1.3.0), any definite date/ver would help our project schedule.
2.This direct binding for kafka source support is very critical for our project. We are in a situation to totally abandon Spring XD YARN in our project just because of this.
Thanks
Satish Srinivasan
satsrinister#gmail.com
Thanks for the interest in Spring XD :).
For Spring XD 1.x, we suggest using composition instead of direct binding with the Kafka bus - or, in your case, the Kafka source. However, apart from that, in Spring XD 1.x it is not possible to create an entire stream without at least one hop over the bus (regardless of the type of bus or modules being used).
We are addressing direct binding (including support for entire directly bound streams) as part of Spring Cloud Data Flow (http://cloud.spring.io/spring-cloud-dataflow/) - which is the next evolution of Spring XD. We are intending to support it as a specific configuration option, rather than as a side-effect of zero-count modules. From an end-user perspective, SCDF supports the same DSL as Spring XD (with minor variations) and has the same administration UI, and definitely supports YARN, so it should be a fairly seamless transition. I would suggest starting to take a look at that. The upcoming 1.0.0.M2 release of Spring Cloud Data Flow will not support direct binding via DSL yet, but the intent is to support it in the final release which is currently planned for Q1 2016.

404 error on clicking job link on springbatch admin ui

I am new to springbatch. I am trying to create a batch application and integrate with batch admin ui. Versions I used are spring-batch-2.2.7 and spring-batch-admin-1.3.0.M1. I am able to run my job using junit and also able to see all my jobs on admin ui. When i click on the job, I am getting 404 error.
Home Page -
http://myServer/ApplicationName
List of jobs link -
http://myServer/ApplicationName/batch/jobs
When i click on the job link url is missing 'batch' in the url.
http://myServer/ApplicationName/jobs/JOBNAME
Can anyone please help me resolve this issue? Thanks!
Please use the 1.3.0 release version of spring batch admin ( http://spring.io/blog/2014/07/28/spring-batch-admin-1-3-0-release-is-available ). This should work now with current spring batch versions (2.2.x and 3.0.x). I tested this successfully with spring batch version 3.0.1.
There is also a good starting point for configuring spring batch admin together with spring boot: https://blog.codecentric.de/en/2014/08/spring-batch-admin-spring-boot-2/

Spring Batch using eclipse or STS

I am new to Spring Batch. I want to understand by making some simple Hello World or by reading a CSV file. On internet I saw many examples but everyone is explaining the code but nobody is talking about project structure or how to create project in eclipse or STS. Please provide me links which can explain the process very simple or share the articles for it.
You can download and import a simple Spring Batch project directly from STS:
Click: File -> New -> Spring Project
In the "New Spring Project" Window, under "Templates", expand the "Batch" folder.
Click on "Simple Spring Batch Project", provide aproject name and click the "Next" button.
That's it. The project has what I would call a simple spring and spring-batch standard setup. You can easily extend it by adding an ORM-framework or whatever you like ...
There is a guide providing exactly what you are looking for (how to structure the project, Maven/Gradle config, code, etc) on the spring.io web site:
http://spring.io/guides/gs/batch-processing/
It's generally a good idea to follow the tutorials on spring.io before following tutorials from anyone else.

Resources