Skip to content
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

NonBlockingStatsDClient should provide way to handle queue overflow #71

Open
leventov opened this issue Feb 14, 2019 · 2 comments
Open

Comments

@leventov
Copy link

boolean send(final String message) {
if (!shutdown) {
queue.offer(message);
return true;
}
return false;
}

Currently if the queue is full events are just silently lost.

See apache/druid#7075

@nmuesch
Copy link
Contributor

nmuesch commented Mar 4, 2019

Hey @leventov There is currently an open PR that seems to address a similar issue - https://github.com/DataDog/java-dogstatsd-client/pull/65/files Would this satisfy your use case?

@leventov
Copy link
Author

leventov commented Mar 4, 2019

It seems like a different problem to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants