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

Fix error test when ignoring RD_KAFKA_RESP_ERR_NO_ERROR in storeMessageOffset #141

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

gmilos
Copy link
Contributor

@gmilos gmilos commented Oct 31, 2023

Motivation

#129 attempted to ignore RD_KAFKA_RESP_ERR_NO_ERROR when executing storeMessageOffset func. However, the if test is inverted, it instead ignores all errors but RD_KAFKA_RESP_ERR_NO_ERROR. This PR fixes this.

Modification

  • Fix storeMessageOffset error handling, ignore RD_KAFKA_RESP_ERR_NO_ERROR, stop ignoring other errors.

@FranzBusch
Copy link
Contributor

@swift-server-bot add to allowlist

@FranzBusch
Copy link
Contributor

@swift-ci please test

@FranzBusch FranzBusch enabled auto-merge (squash) November 1, 2023 12:51
@FranzBusch FranzBusch merged commit 73bc4b4 into swift-server:main Nov 1, 2023
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