roadrunner icon indicating copy to clipboard operation
roadrunner copied to clipboard

[🧹 CHORE, API]: Use `oneof` for the option protobuf message

Open rustatian opened this issue 1 year ago • 0 comments

No duplicates 🥲.

  • [X] I have searched for a similar issue.

What should be improved or cleaned up?

Currently we have a bloated Options message with different fields related to different, unrelated drivers. This doesn't matter from a speed perspective (unused fields don't cost anything), but it does matter from a proto-message architecture perspective. Replace the contents of the options message with `one of' for the different drivers (AMQP, Kafka, etc).

rustatian avatar Sep 01 '23 22:09 rustatian