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 issue 79 #80

Merged
merged 2 commits into from
Mar 14, 2023
Merged

Conversation

chuck-alt-delete
Copy link
Collaborator

What type of PR is this? (check all applicable)

  • ♻️ Refactor
  • ✨ Feature
  • 🐛 Bug Fix
  • 👷 Optimization
  • 📝 Documentation Update
  • 🚩 Other

Description

PR #78 broke avro / schema registry functionality. Tests didn't fail because we had process.exit(0) instead of process.exit(1) in a couple places. That functionality is restored and moved into avroFormat.ts.

I refactored logic having to do with topic names (eg schema subjects, prefixes) into generateMegaRecord.ts so it only has to be handled in one place.

I'd like to also refactor generateMegaRecord.ts to turn MegaRecord into a proper class, but that can be done in a separate PR.

Related Tickets & Documents

closes #79

Added to documentation?

  • 📜 readme
  • 🙅 no documentation needed

[optional] What gif best describes this PR or how it makes you feel?

Copy link
Collaborator

@bobbyiliev bobbyiliev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@chuck-alt-delete chuck-alt-delete merged commit f5331ae into MaterializeInc:main Mar 14, 2023
@chuck-alt-delete chuck-alt-delete deleted the issue-79 branch March 15, 2023 00:28
recursethis pushed a commit to recursethis/materialize-datagen that referenced this pull request Feb 26, 2024
* fix bug

* remove unneeded file
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.

Bug: "Error creating kafka topic -- alert is not defined"
3 participants