Repository navigation
Add echo-connectrpc server with multi-protocol support - #14
Merged
Merged
Conversation
lambdalisue
force-pushed
the
feature/add-echo-connectrpc
branch
from
December 5, 2025 17:09
e0b85f9 to
169d10a
Compare
Implement Connect RPC echo server with the same interface as echo-grpc, supporting Connect RPC, gRPC, and gRPC-Web protocols on a single port. Features: - Multi-protocol support (Connect RPC, gRPC, gRPC-Web) - Protocol-specific enable/disable via environment variables - Reflection API with version control (v1 and v1alpha) - HTTP/1.1 and HTTP/2 support via h2c - JSON and Protobuf encoding - Browser-compatible gRPC-Web built-in - Complete unit test coverage (16 tests) - Same RPC interface as echo-grpc (100% API compatible) Environment variables: - DISABLE_CONNECTRPC, DISABLE_GRPC, DISABLE_GRPC_WEB - DISABLE_REFLECTION_V1, DISABLE_REFLECTION_V1ALPHA - REFLECTION_INCLUDE_DEPENDENCIES (partially supported) All tests pass: lint, test, build verified.
lambdalisue
force-pushed
the
feature/add-echo-connectrpc
branch
from
December 5, 2025 17:12
169d10a to
47e7e7c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a new Connect RPC echo server (
echo-connectrpc) with the same interface asecho-grpc, supporting multiple protocols on a single port.Key Features
.protofiles and RPC interface as echo-grpcEnvironment Variables
DISABLE_CONNECTRPC,DISABLE_GRPC,DISABLE_GRPC_WEB- Protocol controlDISABLE_REFLECTION_V1,DISABLE_REFLECTION_V1ALPHA- Reflection version controlREFLECTION_INCLUDE_DEPENDENCIES- Dependency control (partially supported)Implementation Details
connectrpc.com/connectfor multi-protocol supportComparison with echo-grpc
Test Plan
just lint- 0 issuesjust test- all tests passjust build- successful buildFiles Added
echo-connectrpc/- Complete Connect RPC server implementation.github/workflows/build.echo-connectrpc.yml- Build workflow.github/workflows/docker.echo-connectrpc.yml- Docker publish workflowREADME.md,CLAUDE.md,justfile,compose.yaml