Migrating existing application to Flink

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

Migrating existing application to Flink

Eduardo Winpenny Tejedor
Hi all,

How would one go about migrating a stateful streaming application that doesn't use Flink to one that does?

My question is specifically how to load state for the first time? I can set the source operator (Kafka in my case) to start from a desired point in time but I've no idea how I'd go about initialising the state of the Flink equivalent version of the app from a "pseudo-snapshot". I call "pseudo-snapshot" to the non-Flink representation of state at a given point in time.

Thanks,
Eduardo
Reply | Threaded
Open this post in threaded view
|

Re: Migrating existing application to Flink

Konstantin Knauf-2
Hi Eduardo,

Flink 1.9 will add a new State Processor API [1], which you can use to create Savepoints from scratch with a batch job. 

Cheers,

Konstantin


On Thu, Jul 4, 2019 at 12:38 AM Eduardo Winpenny Tejedor <[hidden email]> wrote:
Hi all,

How would one go about migrating a stateful streaming application that doesn't use Flink to one that does?

My question is specifically how to load state for the first time? I can set the source operator (Kafka in my case) to start from a desired point in time but I've no idea how I'd go about initialising the state of the Flink equivalent version of the app from a "pseudo-snapshot". I call "pseudo-snapshot" to the non-Flink representation of state at a given point in time.

Thanks,
Eduardo


--

Konstantin Knauf | Solutions Architect

+49 160 91394525


Planned Absences: 10.08.2019 - 31.08.2019, 05.09. - 06.09.2010


--

Ververica GmbH | Invalidenstrasse 115, 10115 Berlin, Germany

--

Ververica GmbH
Registered at Amtsgericht Charlottenburg: HRB 158244 B
Managing Directors: Dr. Kostas Tzoumas, Dr. Stephan Ewen

Reply | Threaded
Open this post in threaded view
|

Re: Migrating existing application to Flink

Eduardo Winpenny Tejedor
Great news! Thanks Konstantin

On Sun, 7 Jul 2019, 09:34 Konstantin Knauf, <[hidden email]> wrote:
Hi Eduardo,

Flink 1.9 will add a new State Processor API [1], which you can use to create Savepoints from scratch with a batch job. 

Cheers,

Konstantin


On Thu, Jul 4, 2019 at 12:38 AM Eduardo Winpenny Tejedor <[hidden email]> wrote:
Hi all,

How would one go about migrating a stateful streaming application that doesn't use Flink to one that does?

My question is specifically how to load state for the first time? I can set the source operator (Kafka in my case) to start from a desired point in time but I've no idea how I'd go about initialising the state of the Flink equivalent version of the app from a "pseudo-snapshot". I call "pseudo-snapshot" to the non-Flink representation of state at a given point in time.

Thanks,
Eduardo


--

Konstantin Knauf | Solutions Architect

+49 160 91394525


Planned Absences: 10.08.2019 - 31.08.2019, 05.09. - 06.09.2010


--

Ververica GmbH | Invalidenstrasse 115, 10115 Berlin, Germany

--

Ververica GmbH
Registered at Amtsgericht Charlottenburg: HRB 158244 B
Managing Directors: Dr. Kostas Tzoumas, Dr. Stephan Ewen

Reply | Threaded
Open this post in threaded view
|

Re: Migrating existing application to Flink

Oytun Tez
In reply to this post by Konstantin Knauf-2
I am so excited with 1.9, State Processor API is single handedly the most important update for me.

---
Oytun Tez

M O T A W O R D
The World's Fastest Human Translation Platform.


On Sun, Jul 7, 2019 at 4:34 AM Konstantin Knauf <[hidden email]> wrote:
Hi Eduardo,

Flink 1.9 will add a new State Processor API [1], which you can use to create Savepoints from scratch with a batch job. 

Cheers,

Konstantin


On Thu, Jul 4, 2019 at 12:38 AM Eduardo Winpenny Tejedor <[hidden email]> wrote:
Hi all,

How would one go about migrating a stateful streaming application that doesn't use Flink to one that does?

My question is specifically how to load state for the first time? I can set the source operator (Kafka in my case) to start from a desired point in time but I've no idea how I'd go about initialising the state of the Flink equivalent version of the app from a "pseudo-snapshot". I call "pseudo-snapshot" to the non-Flink representation of state at a given point in time.

Thanks,
Eduardo


--

Konstantin Knauf | Solutions Architect

+49 160 91394525


Planned Absences: 10.08.2019 - 31.08.2019, 05.09. - 06.09.2010


--

Ververica GmbH | Invalidenstrasse 115, 10115 Berlin, Germany

--

Ververica GmbH
Registered at Amtsgericht Charlottenburg: HRB 158244 B
Managing Directors: Dr. Kostas Tzoumas, Dr. Stephan Ewen