Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/trendyol/otel-kafka-konsumer
- Owner: Trendyol
- License: mit
- Created: 2023-10-02T13:56:09.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-02-06T06:28:54.000Z (8 months ago)
- Last Synced: 2024-09-26T07:01:44.225Z (about 18 hours ago)
- Topics: kafka-consumer, open-telemetry, open-telemetry-go, segmentio
- Language: Go
- Homepage: https://github.com/Trendyol/kafka-konsumer
- Size: 380 KB
- Stars: 24
- Watchers: 8
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Security: SECURITY.md
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)