Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 974 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 974 Bytes

Sample project showcasing OTel distributed tracing with .NET

Purpose of this is to see data journey across the application using multiple messaging / caching technologies.

  1. ApiCaller.Worker runs in an infinite loop and calls KafkaWriter.Api
  2. KafkaWriter.Api has a single API endpoint that fans-out some data - Kafka, Redis cache, Redis streams
  3. KafkaReader.Worker reads data from Kafka
  4. RedisCacheReader.Worker reads data from Redis cache by key
  5. RedisStreamReader.Worker reads data from Redis Streams

Caveats:

The app does not plug in to StackExchange.Redis - we miss XREADGROUP and GET redis calls. You cannot set parentId once an Activity is started as discussed here. The RedisCacheService.Get method tries this approach.