This solution contains a set of samples based on Silverback.
Start the docker compose file in the repository root.
cd ..
docker-compose up -d
Produce and consume basic messages.
- Run the two applications
dotnet run -p ./samples/Kafka/Basic.Producer/.
dotnet run -p ./samples/Kafka/Basic.Consumer/.
- Observe the console output while the messages are produced and consumed
Process consumed messages in batch.
- Run the two applications
dotnet run -p ./samples/Kafka/Batch.Producer/.
dotnet run -p ./samples/Kafka/Batch.Consumer/.
- Observe the console output while the messages are produced and consumed
Binary file streaming through Kafka.
- Run the two applications
dotnet run -p ./samples/Kafka/BinaryFileStreaming.Producer/.
dotnet run -p ./samples/Kafka/BinaryFileStreaming.Consumer/.
- Browse the producer Swagger UI to fire the sample requests
- The consumed files will be saved in
samples/temp
Produce and consume messages serialized as Avro using the schema registry.
- Run the two applications
dotnet run -p ./samples/Kafka/Avro.Producer/.
dotnet run -p ./samples/Kafka/Avro.Consumer/.
- Observe the console output while the messages are produced and consumed
Produce and consume basic messages.
- Run the two applications
dotnet run -p ./samples/MQTT/Basic.Producer/.
dotnet run -p ./samples/MQTT/Basic.Consumer/.
- Observe the console output while the messages are produced and consumed
Produce and consume basic messages.
- Run the two applications
dotnet run -p ./samples/MQTT/Basic.ProducerV3/.
dotnet run -p ./samples/MQTT/Basic.ConsumerV3/.
- Observe the console output while the messages are produced and consumed
Binary file streaming over MQTT.
- Run the two applications
dotnet run -p ./samples/MQTT/BinaryFileStreaming.Producer/.
dotnet run -p ./samples/MQTT/BinaryFileStreaming.Consumer/.
- Browse the producer Swagger UI to fire the sample requests
- The consumed files will be saved in
samples/temp