Re: How to config the flink to load libs in myself path

2021-04-21 Thread Arvid Heise
Hi, I can't offer you a solution for your problem but I'd like to emphasize that connectors are most of the time put into the user jar. A connector should be a couple of MB and not cause too many issues. On Tue, Apr 20, 2021 at 4:02 PM cxydevelop wrote: > For example, now I had my custom table

Re: How to config the flink to load libs in myself path

2021-04-20 Thread cxydevelop
For example, now I had my custom table source or sink which were builed in a independent jar , and my main code will depend on it. But I don't want to package custom connector jar with main code in a jar flie. In other words, I want to get a thin jar not a fat jar. So I think I can put the custom

Re: How to config the flink to load libs in myself path

2021-04-19 Thread Guowei Ma
Hi, chenxuying There is currently no official support for this. What I am curious about is why you have this requirement. In theory, you can always build your own image. Best, Guowei On Mon, Apr 19, 2021 at 9:58 PM chenxuying wrote: > Hi all, I deployed the flink in K8S by session cluster [1] >

How to config the flink to load libs in myself path

2021-04-19 Thread chenxuying
Hi all, I deployed the flink in K8S by session cluster [1] the default plugin path is /opt/flink/plugins, the default lib path is /opt/flink/lib, the default usrlib path is /opt/flink/usrlib, I wonder if it is possible for change the default path. For example, I wish flink don't load libs from /o