Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/trendyol/otel-kafka-konsumer

open telemetry wrapper for kafka-go and kafka-konsumer
https://github.com/trendyol/otel-kafka-konsumer

kafka-consumer open-telemetry open-telemetry-go segmentio

Last synced: about 18 hours ago
JSON representation

open telemetry wrapper for kafka-go and kafka-konsumer

Awesome Lists containing this project

README

        

# Otel Kafka Konsumer

This library enables distributed tracing on the [segmentio/kafka-go](https://github.com/segmentio/kafka-go) library and is used on [kafka-konsumer](https://github.com/Trendyol/kafka-konsumer).
You can use it without integration kafka-konsumer.

Please refer to [example](example) to learn how to use it. You can also look at [the open-telemetry go documentation](https://opentelemetry.io/docs/instrumentation/go/getting-started/)

# Demo

In the examples, you can run
```sh
docker-compose up --build
```

## Producing

![Producing Example](.github/images/producer-example.png)

## Consuming

![Consuming Example](.github/images/consumer-example.png)

## Consuming With Manual Commit

![Consuming Example](.github/images/consumer-with-manual-commit.png)

## Bring it all together

You can run producer and consumer, respectively, to see that they work together.

![Producing - Consuming Together](.github/images/consumer-producer-together.png)