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

Log target address when more than maxBufferedMessages buffered in consumer #1883

Merged
merged 1 commit into from Mar 21, 2017

Conversation

jan-zajic
Copy link
Contributor

This only "warning" is very important message about data being lost. We need to known which endpoint failing to be able to fix backpressure in code ..

Signed-off-by: jzajic jan.zajic@corpus.cz

@@ -177,7 +177,7 @@ public void handle(Message<T> message) {
if (discardHandler != null) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be renamed dropHandler

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's a note to self :-)

@@ -177,7 +177,7 @@ public void handle(Message<T> message) {
if (discardHandler != null) {
discardHandler.handle(message);
} else {
log.warn("Discarding message as more than " + maxBufferedMessages + " buffered in paused consumer");
log.warn("Discarding message as more than " + maxBufferedMessages + " buffered in paused consumer (address {0})", address);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should not use message interpolation as this is not portable

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vietj ok, i do it like at line 65 in same file

…consumer

Signed-off-by: jzajic <jan.zajic@corpus.cz>
@jan-zajic
Copy link
Contributor Author

@vietj, fixed according to your review

@vietj vietj merged commit 97dad89 into eclipse-vertx:master Mar 21, 2017
@vietj vietj removed the to review label Mar 21, 2017
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

Successfully merging this pull request may close these issues.

None yet

2 participants