Re: Stateful-fun-Basic-Hello

2020-05-26 Thread Igal Shilman
Hi, Can you verify that your jar contains the following file META-INF/services/org.apache.flink.statefun.sdk.spi.StatefulFunctionModule ? Thanks, Igal. On Tue, May 26, 2020 at 11:49 AM C DINESH wrote: > Hi Gordon, > > Thanks for your response. > > After adding this conf to flink-yml. > >

Re: Stateful-fun-Basic-Hello

2020-05-25 Thread Tzu-Li (Gordon) Tai
Hi, You're right, maybe the documentation needs a bit more directions there, especially for people who are newer to Flink. 1. How to increase parallelism There are two ways to do this. Either set the `parallelism.default` also in the flink-conf.yaml, or use the -p command line option when

Re: Stateful-fun-Basic-Hello

2020-05-25 Thread C DINESH
Hi Team, I mean to say that know I understood. but in the documentation page flink-conf.yaml is not mentioned On Mon, May 25, 2020 at 7:18 PM C DINESH wrote: > Thanks Gordon, > > I read the documentation several times. But I didn't understand at that > time, flink-conf.yaml is not there. > >

Re: Stateful-fun-Basic-Hello

2020-05-25 Thread C DINESH
Thanks Gordon, I read the documentation several times. But I didn't understand at that time, flink-conf.yaml is not there. can you please suggest 1. how to increase parallelism 2. how to give checkpoints to the job As far as I know there is no documentation regarding this. or Are these features

Re: Stateful-fun-Basic-Hello

2020-05-25 Thread Tzu-Li (Gordon) Tai
see the bottom half of [1] for more details. Cheers, Gordon [1] https://ci.apache.org/projects/flink/flink-statefun-docs-release-2.0/deployment-and-operations/packaging.html#flink-jar On Sat, May 23, 2020, 9:55 PM C DINESH wrote: > Hi Team, > > I am writing my first stateful fun ba

Stateful-fun-Basic-Hello

2020-05-23 Thread C DINESH
Hi Team, I am writing my first stateful fun basic hello application. I am getting the following Exception. $ ./bin/flink run -c org.apache.flink.statefun.flink.core.StatefulFunctionsJob ./stateful-sun-hello-java-1.0-SNAPSHOT-jar-with-dependencies.jar