Re: Exception Handling in ElasticsearchSink

2022-04-29 Thread Alexander Preuß
Hi Rion, Sorry for the late reply. There should be no problems instantiating the metric in the open() function and passing down its reference through createSink and buildSinkFromRoute. I'd be happy to help in case you encounter any issues. Best, Alexander On Thu, Apr 21, 2022 at 10:49 PM Rion Wil

Exception Handling in ElasticsearchSink

2022-04-21 Thread Rion Williams
Hi all, I've recently been encountering some issues that I've noticed in the logs of my Flink job that handles writing to an Elasticsearch index. I was hoping to leverage some of the metrics that Flink exposes (or piggyback on them) to update metric counters when I encounter specific kinds of erro