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

schema_registry: standalone module for SR with basic dependency injection #994

Closed

Conversation

nosahama
Copy link
Contributor

About this change - What it does

We move schema registry new FastAPI based implementation into it's own module schema_registry and add dependency usage with an example of the application config injection, we can build up from here.

jjaakola-aiven and others added 25 commits November 13, 2024 13:09
- we create a new module schema_registry

- we move all FastAPI related code into this new folder

- going forward, move out all SR related things into this new folder
- leaving an example by killing the usage of ConfigDependencyManager
@nosahama nosahama requested review from a team as code owners November 22, 2024 12:42
import sys


def configure_logging(*, config: Config) -> None:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Even here, we can already use the DI, but let's move a bit and we build on this.

@nosahama nosahama force-pushed the nosahama/fastapi-sr-module-with-DI branch 10 times, most recently from ca8ad2c to 37592da Compare November 25, 2024 15:39
we drop the dependency managers and use the DI containers and providers
@nosahama nosahama force-pushed the nosahama/fastapi-sr-module-with-DI branch from 37592da to 8224657 Compare November 27, 2024 10:18
@nosahama nosahama marked this pull request as draft November 27, 2024 10:18
@nosahama nosahama closed this Dec 6, 2024
@nosahama nosahama deleted the nosahama/fastapi-sr-module-with-DI branch December 6, 2024 16:14
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