Skip to content

sergeytiron/kafka-avro-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kafka Avro Schema Example

This project demonstrates how to use Apache Avro schemas with Kafka producers in a .NET application, featuring automatic schema compilation during the build process.

The example shows how to:

  • Define Avro schemas for message types
  • Automatically compile Avro schemas to C# classes
  • Produce messages to Kafka using the Confluent.Kafka client with Schema Registry

Prerequisites

  • .NET 9.0
  • Docker and Docker Compose

How to run

  1. Start the Kafka environment:

    docker-compose up -d
    
  2. Build and run the project:

    dotnet run --project KafkaAvro
    
  3. Access Kafka UI at http://localhost:8080

About

Project to demonstrate how to use Apache Avro with Kafka in .NET

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages