Re: Wrapping a Flink Function

2020-10-12 Thread Aljoscha Krettek
Could you maybe outline how you want to extend the wrapped sink functionality? A better approach might be to add an operation "in front" of the sink. Best, Aljoscha On 08.10.20 11:32, Lorenzo Pirazzini wrote: Hello, I'm having trouble finding a way to add logic to an existing SinkFunction. W

Re: Wrapping a Flink Function

2020-10-08 Thread Teng Fei Liao
I think any solution here is inherently fragile since future versions of flink can have different abstract classes or interfaces you won't know it has to support. But for a given release, something you can consider is a wrapper class that extends/implements the ones you support. Then, during the me