{"id":19319199,"url":"https://github.com/zq2599/strimzigo","last_synced_at":"2026-05-18T14:32:49.341Z","repository":{"id":79849858,"uuid":"574093630","full_name":"zq2599/strimzigo","owner":"zq2599","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-04T12:26:36.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T05:12:38.277Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/zq2599.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}},"created_at":"2022-12-04T12:11:45.000Z","updated_at":"2022-12-04T12:26:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"0fbedbcb-0e48-42c5-8796-306036bb35d3","html_url":"https://github.com/zq2599/strimzigo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zq2599/strimzigo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zq2599%2Fstrimzigo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zq2599%2Fstrimzigo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zq2599%2Fstrimzigo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zq2599%2Fstrimzigo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zq2599","download_url":"https://codeload.github.com/zq2599/strimzigo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zq2599%2Fstrimzigo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33181056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-10T01:22:33.318Z","updated_at":"2026-05-18T14:32:49.323Z","avatar_url":"https://github.com/zq2599.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go API client for openapi\n\nThe Strimzi Kafka Bridge provides a REST API for integrating HTTP based client applications with a Kafka cluster. You can use the API to create and manage consumers and send and receive records over HTTP rather than the native Kafka protocol. \n\n## Overview\nThis API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project.  By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.\n\n- API version: 0.1.0\n- Package version: 1.0.0\n- Build package: org.openapitools.codegen.languages.GoClientCodegen\n\n## Installation\n\nInstall the following dependencies:\n\n```shell\ngo get github.com/stretchr/testify/assert\ngo get golang.org/x/oauth2\ngo get golang.org/x/net/context\n```\n\nPut the package under your project folder and add the following in import:\n\n```golang\nimport openapi \"github.com/zq2599/strimzigo\"\n```\n\nTo use a proxy, set the environment variable `HTTP_PROXY`:\n\n```golang\nos.Setenv(\"HTTP_PROXY\", \"http://proxy_name:proxy_port\")\n```\n\n## Configuration of Server URL\n\nDefault configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification.\n\n### Select Server Configuration\n\nFor using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`.\n\n```golang\nctx := context.WithValue(context.Background(), openapi.ContextServerIndex, 1)\n```\n\n### Templated Server URL\n\nTemplated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`.\n\n```golang\nctx := context.WithValue(context.Background(), openapi.ContextServerVariables, map[string]string{\n\t\"basePath\": \"v2\",\n})\n```\n\nNote, enum values are always validated and all unused variables are silently ignored.\n\n### URLs Configuration per Operation\n\nEach operation can use different server URL defined using `OperationServers` map in the `Configuration`.\nAn operation is uniquely identified by `\"{classname}Service.{nickname}\"` string.\nSimilar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps.\n\n```golang\nctx := context.WithValue(context.Background(), openapi.ContextOperationServerIndices, map[string]int{\n\t\"{classname}Service.{nickname}\": 2,\n})\nctx = context.WithValue(context.Background(), openapi.ContextOperationServerVariables, map[string]map[string]string{\n\t\"{classname}Service.{nickname}\": {\n\t\t\"port\": \"8443\",\n\t},\n})\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *http://localhost*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*ConsumersApi* | [**Assign**](docs/ConsumersApi.md#assign) | **Post** /consumers/{groupid}/instances/{name}/assignments | \n*ConsumersApi* | [**Commit**](docs/ConsumersApi.md#commit) | **Post** /consumers/{groupid}/instances/{name}/offsets | \n*ConsumersApi* | [**CreateConsumer**](docs/ConsumersApi.md#createconsumer) | **Post** /consumers/{groupid} | \n*ConsumersApi* | [**DeleteConsumer**](docs/ConsumersApi.md#deleteconsumer) | **Delete** /consumers/{groupid}/instances/{name} | \n*ConsumersApi* | [**ListSubscriptions**](docs/ConsumersApi.md#listsubscriptions) | **Get** /consumers/{groupid}/instances/{name}/subscription | \n*ConsumersApi* | [**Poll**](docs/ConsumersApi.md#poll) | **Get** /consumers/{groupid}/instances/{name}/records | \n*ConsumersApi* | [**Seek**](docs/ConsumersApi.md#seek) | **Post** /consumers/{groupid}/instances/{name}/positions | \n*ConsumersApi* | [**SeekToBeginning**](docs/ConsumersApi.md#seektobeginning) | **Post** /consumers/{groupid}/instances/{name}/positions/beginning | \n*ConsumersApi* | [**SeekToEnd**](docs/ConsumersApi.md#seektoend) | **Post** /consumers/{groupid}/instances/{name}/positions/end | \n*ConsumersApi* | [**Subscribe**](docs/ConsumersApi.md#subscribe) | **Post** /consumers/{groupid}/instances/{name}/subscription | \n*ConsumersApi* | [**Unsubscribe**](docs/ConsumersApi.md#unsubscribe) | **Delete** /consumers/{groupid}/instances/{name}/subscription | \n*DefaultApi* | [**Healthy**](docs/DefaultApi.md#healthy) | **Get** /healthy | \n*DefaultApi* | [**Info**](docs/DefaultApi.md#info) | **Get** / | \n*DefaultApi* | [**Openapi**](docs/DefaultApi.md#openapi) | **Get** /openapi | \n*DefaultApi* | [**Ready**](docs/DefaultApi.md#ready) | **Get** /ready | \n*ProducerApi* | [**Send**](docs/ProducerApi.md#send) | **Post** /topics/{topicname} | \n*ProducerApi* | [**SendToPartition**](docs/ProducerApi.md#sendtopartition) | **Post** /topics/{topicname}/partitions/{partitionid} | \n*SeekApi* | [**Seek**](docs/SeekApi.md#seek) | **Post** /consumers/{groupid}/instances/{name}/positions | \n*SeekApi* | [**SeekToBeginning**](docs/SeekApi.md#seektobeginning) | **Post** /consumers/{groupid}/instances/{name}/positions/beginning | \n*SeekApi* | [**SeekToEnd**](docs/SeekApi.md#seektoend) | **Post** /consumers/{groupid}/instances/{name}/positions/end | \n*TopicsApi* | [**GetOffsets**](docs/TopicsApi.md#getoffsets) | **Get** /topics/{topicname}/partitions/{partitionid}/offsets | \n*TopicsApi* | [**GetPartition**](docs/TopicsApi.md#getpartition) | **Get** /topics/{topicname}/partitions/{partitionid} | \n*TopicsApi* | [**GetTopic**](docs/TopicsApi.md#gettopic) | **Get** /topics/{topicname} | \n*TopicsApi* | [**ListPartitions**](docs/TopicsApi.md#listpartitions) | **Get** /topics/{topicname}/partitions | \n*TopicsApi* | [**ListTopics**](docs/TopicsApi.md#listtopics) | **Get** /topics | \n*TopicsApi* | [**Send**](docs/TopicsApi.md#send) | **Post** /topics/{topicname} | \n*TopicsApi* | [**SendToPartition**](docs/TopicsApi.md#sendtopartition) | **Post** /topics/{topicname}/partitions/{partitionid} | \n\n\n## Documentation For Models\n\n - [BridgeInfo](docs/BridgeInfo.md)\n - [Consumer](docs/Consumer.md)\n - [ConsumerRecord](docs/ConsumerRecord.md)\n - [CreatedConsumer](docs/CreatedConsumer.md)\n - [Error](docs/Error.md)\n - [KafkaHeader](docs/KafkaHeader.md)\n - [OffsetCommitSeek](docs/OffsetCommitSeek.md)\n - [OffsetCommitSeekList](docs/OffsetCommitSeekList.md)\n - [OffsetRecordSent](docs/OffsetRecordSent.md)\n - [OffsetRecordSentList](docs/OffsetRecordSentList.md)\n - [OffsetsSummary](docs/OffsetsSummary.md)\n - [Partition](docs/Partition.md)\n - [PartitionMetadata](docs/PartitionMetadata.md)\n - [Partitions](docs/Partitions.md)\n - [ProducerRecord](docs/ProducerRecord.md)\n - [ProducerRecordKey](docs/ProducerRecordKey.md)\n - [ProducerRecordList](docs/ProducerRecordList.md)\n - [ProducerRecordToPartition](docs/ProducerRecordToPartition.md)\n - [ProducerRecordToPartitionList](docs/ProducerRecordToPartitionList.md)\n - [ProducerRecordValue](docs/ProducerRecordValue.md)\n - [Replica](docs/Replica.md)\n - [SubscribedTopicList](docs/SubscribedTopicList.md)\n - [TopicMetadata](docs/TopicMetadata.md)\n - [Topics](docs/Topics.md)\n\n\n## Documentation For Authorization\n\n Endpoints do not require authorization.\n\n\n## Documentation for Utility Methods\n\nDue to the fact that model structure members are all pointers, this package contains\na number of utility functions to easily obtain pointers to values of basic types.\nEach of these functions takes a value of the given basic type and returns a pointer to it:\n\n* `PtrBool`\n* `PtrInt`\n* `PtrInt32`\n* `PtrInt64`\n* `PtrFloat`\n* `PtrFloat32`\n* `PtrFloat64`\n* `PtrString`\n* `PtrTime`\n\n## Author\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzq2599%2Fstrimzigo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzq2599%2Fstrimzigo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzq2599%2Fstrimzigo/lists"}