Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Scala API for flinkspector. #7

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Conversation

lofifnc
Copy link
Contributor

@lofifnc lofifnc commented Feb 1, 2016

Provides integration with the Flink scala api and scala-test.
Uses scala test matchers instead of hamcrest.

@smandrell
Copy link

Hi,

I was wondering if there is any update on the Scala API for flinkspector? We are wondering how to test our flink-scala program and it seems like flinkspector is a good route. However, we do not know how to convert a Java DataStream to a Scala DataStream, so we we cannot get the original flinkspector API to work. Thanks!

@lofifnc
Copy link
Contributor Author

lofifnc commented Jul 7, 2017

Hi,

Unfortunately converting the DataStream from Java to Scala will not suffice because the Java Matchers do not work with most Scala data types.

I'm planning on porting the runtime and input api to work with scala. Big parts of the validation concepts are not compatible with the concepts of ScalaTest. So you would have to use the standart tools provided by ScalaTest which should be adequate for the most part.

At the moment it's hard for me to provide a timeframe because I wan't to fix a core issue of the framework first which has been bugging me for months.

Cheers!
Alex

@lofifnc lofifnc force-pushed the master branch 2 times, most recently from 6bf0791 to 5815639 Compare July 19, 2017 08:12
@lofifnc
Copy link
Contributor Author

lofifnc commented Jul 20, 2017

The poc works. Now I will have to figure out which parts of the java api don't work with scala.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants