Re: Classloading in worker thread context

2021-11-25 Thread Chesnay Schepler
Can you clarify when each exception occurs? Is the latter causing the first one? There are a few possible explanations. One could be an implementation issue in Micrometer where they use the JVMs common pool. In this case a thread may or may not use the user-code classloader. Regarding singl

Re: Classloading in worker thread context

2021-11-23 Thread Oliver Moser
Hi John I had a similar situation with Azure Application Insights. Had it as a maven dependency built into the uber JAR, but ran into NoClassDef found. I ended up packaging it to a custom Docker image, and that works as expected. Oliver > > Am 23.11.2021 um 20:18 schrieb John Karp : > > Hi,

Classloading in worker thread context

2021-11-23 Thread John Karp
Hi, Due to limitations with Flink's metrics API* I'm using Micrometer to collect supplemental application metrics in my Flink 1.13 application (hosted on Kinesis Data Analytics), and publish them to AWS CloudWatch. For the most part it works well. However when handling errors from CloudWatch, the