{"id":20812543,"url":"https://github.com/superstreamlabs/superstream.net","last_synced_at":"2026-05-28T08:31:11.127Z","repository":{"id":224378629,"uuid":"744881465","full_name":"superstreamlabs/superstream.net","owner":"superstreamlabs","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-08T15:28:50.000Z","size":74,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-03T02:58:02.211Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/superstreamlabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-18T07:40:15.000Z","updated_at":"2024-05-08T15:28:54.000Z","dependencies_parsed_at":"2024-11-17T20:55:34.306Z","dependency_job_id":"e29fe60a-ae99-4e5d-b95f-91055d55a2d4","html_url":"https://github.com/superstreamlabs/superstream.net","commit_stats":null,"previous_names":["memphisdev/superstream.net","superstreamlabs/superstream.net"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/superstreamlabs/superstream.net","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superstreamlabs%2Fsuperstream.net","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superstreamlabs%2Fsuperstream.net/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superstreamlabs%2Fsuperstream.net/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superstreamlabs%2Fsuperstream.net/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/superstreamlabs","download_url":"https://codeload.github.com/superstreamlabs/superstream.net/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superstreamlabs%2Fsuperstream.net/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33601380,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"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":[],"created_at":"2024-11-17T20:55:23.015Z","updated_at":"2026-05-28T08:31:11.105Z","avatar_url":"https://github.com/superstreamlabs.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Superstream\n\n## Installation\n\n```sh\n dotnet add package Superstream -v ${SUPERSTREAM_VERSION}\n```\n\n## Importing\n\n```c#\nusing Superstream;\n```\n\n## Producer\n\nTo use `Superstream` with kafka producer, first define the producer configurations:\n  \n```c#\nvar config = new ProducerConfig { BootstrapServers = brokerList };\nvar options = new ProducerBuildOptions(config);\n```\n\nThen create a new instance of kafka producer and use `SuperstreamInitializer.Init` to initialize the producer with `Superstream` options:\n\n```c#\nvar kafkaProducer = new ProducerBuilder\u003cstring?, byte[]\u003e(config)\n  .Build();\nusing var producer = SuperstreamInitializer.Init(\"\u003csuperstream-token\u003e\", \"\u003csuperstream-host\u003e\", kafkaProducer, options);\n```\n\nFinally, to produce messages to kafka, use `ProduceAsync` or `Produce`:\n\n```c#\nproducer.ProduceAsync(\"\u003ctopic\u003e\", new() { Value = JsonSerializer.SerializeToUtf8Bytes(\"{\\\"test_key\\\":\\\"test_value\\\"}\") });\n```\n\n## Consumer\n\nTo use `Superstream` with kafka consumer, first define the consumer configurations:\n\n```c#\nvar config = new ConsumerConfig\n{\n  GroupId = \"groupid\",\n  BootstrapServers = brokerList,\n  EnableAutoCommit = false\n};\nvar options = new ConsumerBuildOptions(config);\n```\n\nThen create a new instance of kafka consumer and use `SuperstreamInitializer.Init` to initialize the consumer with `Superstream` options:\n\n```c#\nvar kafkaConsumer = new ConsumerBuilder\u003cIgnore, byte[]\u003e(config)\n        .SetErrorHandler((_, e) =\u003e Console.WriteLine($\"Error: {e.Reason}\"))\n        .Build();\nusing var consumer = SuperstreamInitializer.Init(\"\u003csuperstream-token\u003e\", \"\u003csuperstream-host\u003e\",kafkaConsumer, options);\n```\n\nFinally, to consume messages from kafka, use `Consume`:\n\n```c#\nvar consumeResult = consumer.Consume();\nConsole.WriteLine($\"Message : ${Encoding.UTF8.GetString(consumeResult.Message.Value)}\");\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuperstreamlabs%2Fsuperstream.net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuperstreamlabs%2Fsuperstream.net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuperstreamlabs%2Fsuperstream.net/lists"}