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

backgroundMetadataUpdater can log ErrNoTopicsToUpdateMetadata repetitively if client.conf.Metadata.Full is false #2630

Open
dnwe opened this issue Aug 29, 2023 · 3 comments
Labels
needs-investigation Issues that require followup from maintainers stale/exempt Issues and pull requests that should never be closed as stale

Comments

@dnwe
Copy link
Collaborator

dnwe commented Aug 29, 2023

Description

If the user has set client.conf.Metadata.Full to false then the refresh of metadata will log an error until the consumer has been assigned one or more topic partitions to refresh. It might also periodically log this if (e.g.,) metadata responses are throttled and don't contain any topics in the result

Versions
Sarama Kafka Go
v1.41.0 3.5.1 1.21.0
Configuration
client.conf.Metadata.Full = false
Logs
Client background metadata update: kafka: no specific topics to update metadata
Additional Context

N/A

@dnwe
Copy link
Collaborator Author

dnwe commented Aug 31, 2023

Looks like this had also previously been rightly reported as an issue with the admin client #2069

Copy link

Thank you for taking the time to raise this issue. However, it has not had any activity on it in the past 90 days and will be closed in 30 days if no updates occur.
Please check if the main branch has already resolved the issue since it was raised. If you believe the issue is still valid and you would like input from the maintainers then please comment to ask for it to be reviewed.

@github-actions github-actions bot added the stale Issues and pull requests without any recent activity label Jan 26, 2024
@dnwe dnwe added stale/exempt Issues and pull requests that should never be closed as stale needs-investigation Issues that require followup from maintainers and removed stale Issues and pull requests without any recent activity labels Jan 30, 2024
@famarting
Copy link

do you think this change would be a good way to address this issue? #2830

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-investigation Issues that require followup from maintainers stale/exempt Issues and pull requests that should never be closed as stale
Projects
None yet
Development

No branches or pull requests

2 participants