Java sdk: Multiple DSNs

Hi, I just installed sentry and want to use multiple clients in my java application
I am running a program with multiple applications all connected to the bootstrap. I want every application to have its own project in Sentry.
Is it possible to log to multiple projects from a single application?

Java sentry-sdk:4.0.0

you can’t do that via the Sentry static class API.

You could though create a different instance of the Hub class, using a custom dsn for each of them, this issue has code snippets Support two instances of sentry client · Issue #993 · getsentry/sentry-java · GitHub