streams-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sblackmon <>
Subject Re: Getting started / tutorial help
Date Sat, 15 Oct 2016 20:13:10 GMT

Please take a look at this improvement to the examples portion of the website and share any

In contrast to with the current page:

Major differences are:
- More examples: now 4 flink and 6 local
- Each example module now has one integration test for each pipelines, covering all steps
from providers to persisters
- Added a new left sidebar, with a contextual collection of instructions that are relevant
to running each example
- HOW-TO’s for launching supporting services for testing with docker maven plugin
- A separate page for each pipeline, even within modules that only have one stream
- A HOCON paradigm using config snippets and includes for supplying configuration required
by each pipeline
- Snippets for running pipelines using SBT and Docker (neither of which require building the
code first)

This section still needs some clean-up and styling, and could still be way better, but maybe
this takes us from 2/10 to 5/10 ?

Are the rest of you able to follow page flow? Is the information supplied adequate and adequately
organized for you to successfully run the pipeline with mvn verify, and without?


On October 5, 2016 at 5:17:32 PM, sblackmon ( wrote:

Trevor, others,

I’ve opened a few pull requests containing a Flink example module with integration tests
demonstrating five pipelines working end-to-end in local mode.

If you have a chance to code review and replicate this, that would be terrific.  I believe
this demonstrates clearly that Streams is suitable for embedding within real-time parallel
processing frameworks.

As we discussed in Berlin there are a lot of cool possible demos based on feeding social streams
into Zeppelin workbooks and/or Flink complex event processing libraries.


On September 30, 2016 at 9:20:09 AM, Steve Blackmon ( wrote:


I don’t see sample.json in the code tree:

Did you happen create that file while trying to run the job or copy it there inadvertently?

The jsonschema2pojo plugin will parse any .json files in that directory and it will fail if
they aren’t proper json schemas.

Please keep me posted on your progress.

On September 30, 2016 at 9:00:53 AM, Trevor Grant ( wrote:

Hey all,

just trying to get started on Apache Streams.

I was trying to build the examples (on the Flink branch), when I
-DskipTests I can get a build but when I do mvn clean package I get the
following errors:

skip non existing resourceDirectory
[INFO] skip non existing resourceDirectory
[INFO] skip non existing resourceDirectory
[INFO] --- jsonschema2pojo-maven-plugin:0.4.1:generate (default) @
flink-twitter-collection ---
[INFO] Reactor Summary:
[INFO] streams-examples-flink ............................ SUCCESS [1.752s]
[INFO] flink-twitter-collection .......................... FAILURE [4.383s]
[INFO] Total time: 7.455s
[INFO] Finished at: Fri Sep 30 07:58:14 GMT-06:00 2016
[INFO] Final Memory: 30M/430M
[ERROR] Failed to execute goal
org.jsonschema2pojo:jsonschema2pojo-maven-plugin:0.4.1:generate (default)
on project flink-twitter-collection: Execution default of goal
org.jsonschema2pojo:jsonschema2pojo-maven-plugin:0.4.1:generate failed:
Error parsing document:
Unexpected end-of-input within/between OBJECT entries
[ERROR] at [Source:
line: 69, column: 2279]

Should I be worried?


Trevor Grant
Data Scientist

*"Fortunate is he, who is able to know the causes of things." -Virgil*

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message