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 #190

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

Conversation

Laityned
Copy link

@Laityned Laityned commented Aug 6, 2024

copy of PR 2404 on base repo

See dpkp#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

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.

1 participant