-
-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disk Buffer Functionality Not Available In Sentry Java 3? #1056
Comments
@michelbitar-99 thanks for raising this. It's not supported ootb because usually backend apps are online 100% of the time and also because IO could become a bottleneck if there a ton of requests per second. We do support the disk buffer for Android and they share the same code base, so it'd not be that hard to bring this in, I'm going to discuss this internally. |
Having the disk buffer for java applications that my team is very interested in. This was a valuable feature for us in version 1 as many of our normal java applications and wildfly applications only touch the internet periodically. |
Thanks @michelbitar-99, I have the same concern @marandaneto, I'd say the assumption that apps using the Java SDK are online 100% of the time usually holds except in a few very important cases when it doesn't.
|
@jadbaz thanks for your insightful comment, we'll for sure consider it, but I can't promise any deadlines, for now, focusing on the Performance feature. As I said, it's not supported ootb but the code base has all the necessary bits, if you create your own Ideally, we'd expose a If one of you feels submitting a PR, I'd love to guide & review btw. |
Thank you @marandaneto, I guess for now we'll stick to the legacy SDK and we'll impatiently wait for this feature to be added to the new SDK. |
@marandaneto |
@bruno-garcia for visibility |
Sounds like all you need to do is to set Also worth noting this will not work with the apache transport released on version 4.0.0. Let us know if you've tried it out. 👍 |
@bruno-garcia, thanks
The legacy SDK buffering functionality used to resend cached events on an interval ( |
@jadbaz you are right, it'd work for Desktop Apps but not Server Apps |
The sentry disk buffer functionality for offline reporting doesn't seem to be present in the 3.* SDK. And there is nothing about it in the docs.
I am using it with a log4j2 integration.
Is is actually available? If yes, how to enable it in sdk 3?
If not, is there any ways to handle offline reporting?
If this is no longer supported what's the strategy for handling lack of connectivity?
The text was updated successfully, but these errors were encountered: