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

correct kafka error message during purification #10607

Merged
merged 1 commit into from
Feb 11, 2022

Conversation

elindsey
Copy link
Contributor

During purification we create a Kafka consumer to validate that
connection params are correct and that we can reach the Kafka broker. We
potentially use this consumer for fetching things like the start offset
if specified, but that's not its primary purpose.

Today the error message is confusing because it incorrectly references
start offset fetching, even in cases where those params have not been
specified in CREATE SOURCE.

Rewriting the error message to be slightly more generic

Motivation

Which of the following best describes the motivation behind this PR?

Checklist

  • This PR has adequate test coverage / QA involvement has been duly considered.
  • This PR adds a release note for any user-facing behavior changes.

@elindsey elindsey requested a review from a team February 11, 2022 15:11
During purification we create a Kafka consumer to validate that
connection params are correct and that we can reach the Kafka broker. We
potentially use this consumer for fetching things like the start offset
if specified, but that's not its primary purpose.

Today the error message is confusing because it incorrectly references
start offset fetching, even in cases where those params have not been
specified in CREATE SOURCE.

Rewriting the error message to be slightly more generic
@elindsey elindsey merged commit 0362bf2 into MaterializeInc:main Feb 11, 2022
@elindsey elindsey deleted the kafkaerrmsg branch February 11, 2022 20:47
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.

None yet

2 participants