Skip to content

Change loglevel of cancelled errors to info #2402

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

Closed
wants to merge 1 commit into from

Conversation

Laityned
Copy link
Contributor

@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
Contributor Author

Laityned commented Dec 14, 2023

bump @wbarnha

@dpkp
Copy link
Owner

dpkp commented Feb 10, 2025

Merged in #2467

@dpkp dpkp closed this Feb 10, 2025
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.

3 participants