{"id":23333906,"url":"https://github.com/schultyy/kafka-tracing-blog-post-example-code","last_synced_at":"2026-05-18T19:45:22.266Z","repository":{"id":137103347,"uuid":"612431697","full_name":"schultyy/kafka-tracing-blog-post-example-code","owner":"schultyy","description":"Example code for Kafka Tracing with OpenTelemetry","archived":false,"fork":false,"pushed_at":"2023-03-11T00:02:21.000Z","size":23,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-02T04:35:22.262Z","etag":null,"topics":["kafka","opentelemetry","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/schultyy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-03-10T23:55:24.000Z","updated_at":"2023-09-06T03:30:06.000Z","dependencies_parsed_at":"2023-03-29T12:49:24.788Z","dependency_job_id":null,"html_url":"https://github.com/schultyy/kafka-tracing-blog-post-example-code","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/schultyy/kafka-tracing-blog-post-example-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schultyy%2Fkafka-tracing-blog-post-example-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schultyy%2Fkafka-tracing-blog-post-example-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schultyy%2Fkafka-tracing-blog-post-example-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schultyy%2Fkafka-tracing-blog-post-example-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schultyy","download_url":"https://codeload.github.com/schultyy/kafka-tracing-blog-post-example-code/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schultyy%2Fkafka-tracing-blog-post-example-code/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269988684,"owners_count":24508498,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kafka","opentelemetry","rust"],"created_at":"2024-12-21T00:32:53.702Z","updated_at":"2026-05-18T19:45:17.232Z","avatar_url":"https://github.com/schultyy.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kafka-tracing-blog-post-example-code\nExample code for Kafka Tracing with OpenTelemetry\n\n## Usage\n\nStart all containers\n\n```bash\n$ docker-compose up -d\n```\n\nCreate a Kafka Topic:\n\n```bash\n$ docker exec broker \\\n   kafka-topics --bootstrap-server broker:9092 \\\n                --create \\\n                --topic hnstories\nCreated topic hnstories.\n```\n\nRun the consumer: \n\n```\n$ cargo run -p consumer\nSubscribed\nPre rebalance Assign(TPL {hnstories/0: offset=Invalid metadata=\"\"})\nPost rebalance Assign(TPL {hnstories/0: offset=Invalid metadata=\"\"})\n```\n(Wait until you see the output above - might take 15-20sec)\n\nIn a second terminal window, run the producer:\n\n```bash\n$ cargo run -p producer\n```\n\n[Open Jaeger](http://localhost:16686)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschultyy%2Fkafka-tracing-blog-post-example-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschultyy%2Fkafka-tracing-blog-post-example-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschultyy%2Fkafka-tracing-blog-post-example-code/lists"}