This project is responsible for the back end part of the application. It's a .NET web API.
- Acting as a proxy for producing messages to an Apache Kafka cluster
- Storing and retrieving message data schemas
- Apache Kafka cluster
- MySQL database (initialized by FluentMigrator on startup)
- Front end (for CORS)
Take a look at infra/dev-stack.yml. Start up this stack to get everything you need for local development.
Use dotnet run --project KafkaFaker.BE.Api
to start the project locally. You can access swagger at http://localhost:5000/swagger
.
- Environment variables
BootstrapServers
sets the Apache Kafka bootstrap servers used by the kafka client. Specify your brokers here.ConnectionStrings__SchemaDatabase
sets the connection string for the schema database- Any other ASP.NET Core environment variables