{"id":28566781,"url":"https://github.com/salsify/avro_schema_registry-client","last_synced_at":"2026-03-03T11:14:26.916Z","repository":{"id":45988430,"uuid":"87320993","full_name":"salsify/avro_schema_registry-client","owner":"salsify","description":"Client for the the avro-schema-registry app","archived":false,"fork":false,"pushed_at":"2024-01-05T18:15:29.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":40,"default_branch":"master","last_synced_at":"2025-06-03T14:38:54.709Z","etag":null,"topics":["avro","gem","schema-registry"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/salsify.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-04-05T14:44:11.000Z","updated_at":"2023-11-21T23:27:49.000Z","dependencies_parsed_at":"2023-02-08T14:31:35.653Z","dependency_job_id":"d71b38ec-7d0a-4100-be1a-5e4aa0f715b5","html_url":"https://github.com/salsify/avro_schema_registry-client","commit_stats":{"total_commits":11,"total_committers":5,"mean_commits":2.2,"dds":0.5454545454545454,"last_synced_commit":"96ddee5029805b1ffc492464951b73295341c4c7"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salsify%2Favro_schema_registry-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salsify%2Favro_schema_registry-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salsify%2Favro_schema_registry-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salsify%2Favro_schema_registry-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/salsify","download_url":"https://codeload.github.com/salsify/avro_schema_registry-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salsify%2Favro_schema_registry-client/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259104037,"owners_count":22805794,"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","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":["avro","gem","schema-registry"],"created_at":"2025-06-10T15:38:49.799Z","updated_at":"2026-03-03T11:14:26.874Z","avatar_url":"https://github.com/salsify.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AvroSchemaRegistry::Client\n\nClient for the [avro-schema-registry](https://github.com/salsify/avro-schema-registry)\napp.\n\nThis client extends [AvroTurf::ConfluentSchemaRegistry](https://github.com/dasch/avro_turf)\nto support [extensions](https://github.com/salsify/avro-schema-registry#extensions)\nprovided by avro-schema-registry\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'avro_schema_registry-client'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install avro_schema_registry-client\n\n## Usage\n\nCreate a client:\n\n```ruby\nclient = AvroSchemaRegistry::Client.new(registry_url, logger: logger)\n```\n\nCreate a client that caches the responses for requests to fetch or register\nan `Avro::Schema`:\n\n```ruby\ncached_client = AvroSchemaRegistry::CachedClient.new(\n  AvroSchemaRegistry::Client.new(registry_url, logger: logger)\n)\n```\n\n### Fake Server\n\nThis gem also provides a fake avro-schema-registry server that can be used in\ntests. This fake server depends on sinatra, which must be explicitly added\nas a dependency:\n\n```ruby\nrequire 'avro_schema_registry/test/fake_server'\n\n# before hook with rspec\nbefore do\n  WebMock.stub_request(:any, /^#{registry_url}/).to_rack(AvroSchemaRegistry::FakeServer)\n  AvroSchemaRegistry::FakeServer.clear\nend\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then,\nrun `rake spec` to run the tests. You can also run `bin/console` for an\ninteractive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. \n\nTo release a new version, update the version number in `version.rb`, and then\nrun `bundle exec rake release`, which will create a git tag for the version,\npush git commits and tags, and push the `.gem` file to\n[rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at\nhttps://github.com/salsify/avro_schema_registry-client.## License\n\nThe gem is available as open source under the terms of the\n[MIT License](http://opensource.org/licenses/MIT).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalsify%2Favro_schema_registry-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalsify%2Favro_schema_registry-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalsify%2Favro_schema_registry-client/lists"}