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

Allow custom schema and data file paths, print file path on registering #48

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

m-dwyer
Copy link
Contributor

@m-dwyer m-dwyer commented Sep 10, 2024

Context

We currently provide an Avro schema file and sample data JSON that will allow users to run devbox run populate, resulting in Avro-encoded payloads being published to the outbox table.

However, the environment variables for these are hard-coded, and cannot be overridden

Changes

  • Set relevant environment variables as export in init_hook, so users can override and register their own schema plus publish their own data
  • Print out the schema file path when registering against schema registry

@m-dwyer m-dwyer marked this pull request as ready for review September 10, 2024 03:29
@cultureamp-brucew cultureamp-brucew merged commit b9d803f into main Sep 10, 2024
5 checks passed
@cultureamp-brucew cultureamp-brucew deleted the allow-custom-schema-and-data branch September 10, 2024 04:00
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