bloomberg / bloomberg/comdb2

Migrate to Protobuf 3 to Increase Language Compatibility

Open
#832 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
1.5k
Forks
243
Avg merge
2d 2h
Merged PRs (30d)
37

Description

Some languages, most notably C#, do not support proto2. The proto files for comdb2 use several specific features which have been deprecated in proto3, like optional values, defaults, required values, non-base-0 enums.

So, this is a feature request to migrate to proto3. The protobuf interface is an easy way to talk to the database and migrating will path the way for more adoption, e.g. a proper database driver for C#.

Contributor guide

Open the contributing guide

Research direction

The issue identifies the comdb2 proto files and the proto2 features that must be addressed, including optional, default, required values and non-base-0 enums. Start by reviewing those definitions and the current protobuf interface; done means the interface is migrated to proto3 while preserving a usable way to talk to the database and improving C# compatibility.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.