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

Open
wants to merge 3 commits into
base: jjaakola-aiven-fastapi
Choose a base branch
from

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.

- 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 9 times, most recently from a9163a9 to ca8ad2c Compare November 25, 2024 15:36
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 ca8ad2c to 37592da Compare November 25, 2024 15:39
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