Dependency injection and flink.

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

Dependency injection and flink.

santhosh venkat
Hi,

I'm trying to integrate a dependency injection framework with flink. When I
searched the user-mailing list, I found the following thread in flink which
discussed this in the past:
http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Dependency-Injection-and-Flink-td18880.html

Since the thread is around ~2 yrs old, I'm creating this request.

1. How do we expect users to integrate flink with a dependency injection
framework. Are there any hooks/entry-points that we can use to seamlessly
integrate a DI-fwk with flink? What does the community recommend for the
dependency injection integration?

2. Would it be possible to create the DI objects(say spring objects) at a
flink-task scope ? Or all these objects(say spring) from a dependency
injection fwk are expected to be created at a process(JM/TM) level?

Can someone please help answer the above questions and help me understand
the flink-guarantees better. Any help would be greatly appreciated.

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Dependency injection and flink.

Arvid Heise-3
I'm answering your user ML mail. Please only ask your question once.

Dev ML is only used to coordinate Flink development, which kinda makes
sense in your case after we verified in your first thread that indeed Flink
should provide such things.

On Tue, Nov 3, 2020 at 3:14 AM santhosh venkat <[hidden email]>
wrote:

> Hi,
>
> I'm trying to integrate a dependency injection framework with flink. When I
> searched the user-mailing list, I found the following thread in flink which
> discussed this in the past:
>
> http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Dependency-Injection-and-Flink-td18880.html
>
> Since the thread is around ~2 yrs old, I'm creating this request.
>
> 1. How do we expect users to integrate flink with a dependency injection
> framework. Are there any hooks/entry-points that we can use to seamlessly
> integrate a DI-fwk with flink? What does the community recommend for the
> dependency injection integration?
>
> 2. Would it be possible to create the DI objects(say spring objects) at a
> flink-task scope ? Or all these objects(say spring) from a dependency
> injection fwk are expected to be created at a process(JM/TM) level?
>
> Can someone please help answer the above questions and help me understand
> the flink-guarantees better. Any help would be greatly appreciated.
>
> Thanks.
>


--

Arvid Heise | Senior Java Developer

<https://www.ververica.com/>

Follow us @VervericaData

--

Join Flink Forward <https://flink-forward.org/> - The Apache Flink
Conference

Stream Processing | Event Driven | Real Time

--

Ververica GmbH | Invalidenstrasse 115, 10115 Berlin, Germany

--
Ververica GmbH
Registered at Amtsgericht Charlottenburg: HRB 158244 B
Managing Directors: Timothy Alexander Steinert, Yip Park Tung Jason, Ji
(Toni) Cheng