StateFun examples in scala

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

StateFun examples in scala

jose farfan
Hi

I am trying to find some examples written in scala of StateFun.

But, I cannot find nothing.
My questions is:
  1. is there any problem to use statefun with Scala
  2. is there any place with examples written in scala.
BR
Jose
Reply | Threaded
Open this post in threaded view
|

Re: StateFun examples in scala

Till Rohrmann
Hi Jose,

I am pulling in Gordon who will be able to help you with your question.

Personally, I am not aware of any limitations which prohibit the usage of Scala.

Cheers,
Till

On Tue, Mar 30, 2021 at 11:55 AM jose farfan <[hidden email]> wrote:
Hi

I am trying to find some examples written in scala of StateFun.

But, I cannot find nothing.
My questions is:
  1. is there any problem to use statefun with Scala
  2. is there any place with examples written in scala.
BR
Jose
Reply | Threaded
Open this post in threaded view
|

Re: StateFun examples in scala

Tzu-Li (Gordon) Tai
Hi Jose!

For Scala, we would suggest to wait until StateFun 3.0.0 is released, which is actually happening very soon (likely within 1-2 weeks) as there is an ongoing release candidate vote [1].

The reason for this is that version 3.0 adds a remote SDK for Java, which you should be able to use with Scala (or any other JVM language) seamlessly.
With StateFun <= 2.x, you only have the option to use embedded functions if you'd like to use Java / Scala, which is a bit problematic and we can't guarantee that it'll work for all Scala versions.

You can take a look at a preview of the new Java SDK here [2], this is a nice tutorial that runs you through all the SDK fundamentals.
Note that this is not completely finalized yet, as the release voting is still ongoing.

Would be great if you want to try the release candidate out already, or have some feedback for the new SDK!

Cheers,
Gordon

[1] http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/VOTE-Apache-Flink-Stateful-Functions-3-0-0-release-candidate-1-td49821.html
[2] https://github.com/apache/flink-statefun-playground/tree/dev/java/showcase

On Tue, Mar 30, 2021 at 8:21 PM Till Rohrmann <[hidden email]> wrote:
Hi Jose,

I am pulling in Gordon who will be able to help you with your question.

Personally, I am not aware of any limitations which prohibit the usage of Scala.

Cheers,
Till

On Tue, Mar 30, 2021 at 11:55 AM jose farfan <[hidden email]> wrote:
Hi

I am trying to find some examples written in scala of StateFun.

But, I cannot find nothing.
My questions is:
  1. is there any problem to use statefun with Scala
  2. is there any place with examples written in scala.
BR
Jose
Reply | Threaded
Open this post in threaded view
|

Re: StateFun examples in scala

jose farfan
Hi 

Many thx for your quick answer. 
I will review the links.

BR
Jose

On Tue, 30 Mar 2021 at 15:22, Tzu-Li (Gordon) Tai <[hidden email]> wrote:
Hi Jose!

For Scala, we would suggest to wait until StateFun 3.0.0 is released, which is actually happening very soon (likely within 1-2 weeks) as there is an ongoing release candidate vote [1].

The reason for this is that version 3.0 adds a remote SDK for Java, which you should be able to use with Scala (or any other JVM language) seamlessly.
With StateFun <= 2.x, you only have the option to use embedded functions if you'd like to use Java / Scala, which is a bit problematic and we can't guarantee that it'll work for all Scala versions.

You can take a look at a preview of the new Java SDK here [2], this is a nice tutorial that runs you through all the SDK fundamentals.
Note that this is not completely finalized yet, as the release voting is still ongoing.

Would be great if you want to try the release candidate out already, or have some feedback for the new SDK!

Cheers,
Gordon

[1] http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/VOTE-Apache-Flink-Stateful-Functions-3-0-0-release-candidate-1-td49821.html
[2] https://github.com/apache/flink-statefun-playground/tree/dev/java/showcase

On Tue, Mar 30, 2021 at 8:21 PM Till Rohrmann <[hidden email]> wrote:
Hi Jose,

I am pulling in Gordon who will be able to help you with your question.

Personally, I am not aware of any limitations which prohibit the usage of Scala.

Cheers,
Till

On Tue, Mar 30, 2021 at 11:55 AM jose farfan <[hidden email]> wrote:
Hi

I am trying to find some examples written in scala of StateFun.

But, I cannot find nothing.
My questions is:
  1. is there any problem to use statefun with Scala
  2. is there any place with examples written in scala.
BR
Jose