Skip to content

STR-314: add Unix domain socket support for gRPC listener#671

Open
Ozodimgba wants to merge 1 commit intomasterfrom
str-314
Open

STR-314: add Unix domain socket support for gRPC listener#671
Ozodimgba wants to merge 1 commit intomasterfrom
str-314

Conversation

@Ozodimgba
Copy link
Contributor

Closes #STR-314

@Ozodimgba
Copy link
Contributor Author

@leafaar is it cool to add the changelog for the parallel encoding here or the changelog must accompany its corresponding commit

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds Unix domain socket (UDS) support for the gRPC listener, allowing clients to connect via unix:// addresses in addition to TCP addresses.

Changes:

  • Introduced GrpcAddress enum to support both TCP and Unix domain socket addresses
  • Modified gRPC server initialization to handle both TCP and UDS connection types
  • Added warning when TLS is configured with Unix domain sockets

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
yellowstone-grpc-geyser/src/config.rs Adds GrpcAddress enum with TCP/Unix variants and custom deserialization for unix:// prefix
yellowstone-grpc-geyser/src/grpc.rs Updates server binding logic to create appropriate listener based on address type and handle socket cleanup
CHANGELOG.md Documents the new Unix domain socket feature

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant