{"id":20884826,"url":"https://github.com/morgwai/grpc-utils","last_synced_at":"2026-04-19T21:37:57.232Z","repository":{"id":47732019,"uuid":"358935146","full_name":"morgwai/grpc-utils","owner":"morgwai","description":"Some utility classes for developing gRPC services","archived":false,"fork":false,"pushed_at":"2024-02-16T04:32:05.000Z","size":754,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-19T10:43:06.718Z","etag":null,"topics":["concurrent","grpc","grpc-java","java","manual-flow-control","multithreading"],"latest_commit_sha":null,"homepage":"","language":"Java","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/morgwai.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-17T17:00:16.000Z","updated_at":"2023-09-06T11:45:57.000Z","dependencies_parsed_at":"2024-02-16T04:30:52.120Z","dependency_job_id":"986c49cf-7ccc-4c7e-8bf3-26a71a65bd32","html_url":"https://github.com/morgwai/grpc-utils","commit_stats":null,"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morgwai%2Fgrpc-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morgwai%2Fgrpc-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morgwai%2Fgrpc-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morgwai%2Fgrpc-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morgwai","download_url":"https://codeload.github.com/morgwai/grpc-utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243267185,"owners_count":20263798,"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":["concurrent","grpc","grpc-java","java","manual-flow-control","multithreading"],"created_at":"2024-11-18T08:11:42.509Z","updated_at":"2025-12-26T21:49:34.706Z","avatar_url":"https://github.com/morgwai.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gRPC utils\n\nSome helpful classes when developing gRPC services.\u003cbr/\u003e\nCopyright 2021 Piotr Morgwai Kotarbinski, Licensed under the Apache License, Version 2.0\u003cbr/\u003e\n\u003cbr/\u003e\n**latest release: [7.1](https://search.maven.org/artifact/pl.morgwai.base/grpc-utils/7.1/jar)**\n([javadoc](https://javadoc.io/doc/pl.morgwai.base/grpc-utils/7.1))\n\n\n## MAIN USER CLASSES\n\n### [ConcurrentInboundObserver](https://javadoc.io/doc/pl.morgwai.base/grpc-utils/latest/pl/morgwai/base/grpc/utils/ConcurrentInboundObserver.html)\nBase class for inbound `StreamObservers` (server method request observers and client response observers), that pass results to some outboundObserver and may dispatch message processing to other threads. Handles all the synchronization and manual flow-control.\n\n### [DispatchingOnReadyHandler](https://javadoc.io/doc/pl.morgwai.base/grpc-utils/latest/pl/morgwai/base/grpc/utils/DispatchingOnReadyHandler.html)\nStreams messages to an outbound `CallStreamObserver` from multiple concurrent tasks with respect to flow-control. Useful when processing of 1 inbound message may result in multiple outbound messages that can be produced concurrently in multiple threads.\n\n### [OrderedConcurrentInboundObserver](https://javadoc.io/doc/pl.morgwai.base/grpc-utils/latest/pl/morgwai/base/grpc/utils/OrderedConcurrentInboundObserver.html)\nA `ConcurrentInboundObserver` that uses [OrderedConcurrentOutputBuffer](https://javadoc.io/doc/pl.morgwai.base/java-utils/latest/pl/morgwai/base/utils/concurrent/OrderedConcurrentOutputBuffer.html) to ensure that outbound messages are sent in the order corresponding to the inbound messages order.\n\n### [BlockingResponseObserver](https://javadoc.io/doc/pl.morgwai.base/grpc-utils/latest/pl/morgwai/base/grpc/utils/BlockingResponseObserver.html)\nA `ClientResponseObserver`, that blocks until the response stream is completed with either `onCompleted()` or `onError(error)`.\n\n\n## EXAMPLES\n\nSee [sample app](sample)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorgwai%2Fgrpc-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorgwai%2Fgrpc-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorgwai%2Fgrpc-utils/lists"}