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

Ignore missing topic errors on the health check #18

Merged
merged 1 commit into from
May 15, 2024

Conversation

Americas
Copy link
Collaborator

When a reader is setup with a topic that does not yet exist, the lookup will fail with a TOPIC_NOT_FOUND status.

Since this is an error, the health check is becoming degraded because of it, but it really shouldn't, the call to the nsqlookup worked, it is just that the error is misleading.

With this PR, this specific error will be ignored for health check purposes, although it will still be emitted through the error lookup event.

@Americas Americas self-assigned this May 15, 2024
@Americas Americas force-pushed the support/ignore-topic-not-found-errors branch from bc3c47a to cfee0f4 Compare May 15, 2024 12:17
@satazor satazor merged commit bd981a1 into master May 15, 2024
1 check passed
@satazor satazor deleted the support/ignore-topic-not-found-errors branch May 15, 2024 13:10
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