datafusion-contrib / datafusion-contrib/datafusion-distributed

[Abstract protocol] Move non-gRPC protobuf messages to protobuf/

Open
#577 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
139
Forks
67
Avg merge
3d 1h
Merged PRs (30d)
35

Description

When abstracting gRPC details for the WorkerChannel abstraction, there are things that still live under the grpc scope that are not grpc specific: pretty much every message in worker.proto that is not the service definition.

It'd be nice to split the worker.proto file in two:

  • worker_service.proto: this will live under the grpc scope, importing the messages from messages.proto.
  • messages.proto: root file on a protobuf/ module.

The protobuf/ module should not be gated behind the grpc flag, as it's something that probably anyone that is willing to implement a WorkerChannel should be using.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating worker.proto and tracing how its generated messages and service are exposed under the grpc feature. Split the definitions into worker_service.proto and messages.proto as described, with the messages in the protobuf module independent of grpc; done means WorkerChannel implementations can use those messages without enabling grpc.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
distributed-systems
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
66/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.