Trendyol / otel-kafka-konsumer

open telemetry wrapper for kafka-go and kafka-konsumer

Home Page:https://github.com/Trendyol/kafka-konsumer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Otel Kafka Konsumer

This library enables distributed tracing on the segmentio/kafka-go library and is used on kafka-konsumer. You can use it without integration kafka-konsumer.

Please refer to example to learn how to use it. You can also look at the open-telemetry go documentation

Demo

In the examples, you can run

docker-compose up --build

Producing

Producing Example

Consuming

Consuming Example

Consuming With Manual Commit

Consuming Example

Bring it all together

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

Producing - Consuming Together

About

open telemetry wrapper for kafka-go and kafka-konsumer

https://github.com/Trendyol/kafka-konsumer

License:MIT License


Languages

Language:Go 95.4%Language:Makefile 4.6%