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

Change loglevel of cancelled errors to info #2402

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Laityned
Copy link

@Laityned Laityned commented Oct 16, 2023

See #1583

When closing the connection on purpose by calling consumer.close(), each ongoing Fetch request will be cancelled, by setting a Cancelled KafkaException on that particular request.

Due to the error callback on this object, which is nothing else except a logging statement, the cancellation will be logged with level ERROR, instead as INFO, while it is not actually an error, but a way of stopping the ongoing request


This change is Reviewable

@Laityned
Copy link
Author

Laityned commented Dec 14, 2023

bump @wbarnha

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.

2 participants