Legacy RPC cc_generic_services removal planned?

149 views
Skip to first unread message

Srivats P

unread,
Dec 27, 2024, 2:55:15 AM12/27/24
to Protocol Buffers
Hi,

Sometime ago I read somewhere that protoc will no longer generate the generic RPC services (cc_generic_services, py_generic_services options) which were deprecated a long time ago.

However I don't remember where I read that and my google-fu is failing me now. Maybe it was a LLM that hallucinated and I picked it there?

So, I thought I'd check here for the official position - please let me know.

Thanks in advance,
Srivats

Eric Salo

unread,
Dec 27, 2024, 4:35:06 AM12/27/24
to Srivats P, Protocol Buffers
Hi Srivats -

The cc_generic_services, py_generic_services, and java_generic_services options have all recently been removed from the proto_library() bazel rule on the Google side of the fence. I'm not sure which, if any, of these removals have already been pushed in a OSS release but my guess is that they probably all have. So if this hasn't yet happened, it should happen very soon.

- Eric

--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/protobuf/dfdd2fb8-c29b-4382-92ca-414d3e6e1120n%40googlegroups.com.

Srivats P

unread,
Dec 27, 2024, 5:36:38 AM12/27/24
to Protocol Buffers
Thanks Eric for the info.

Is there an announcement or forum/issue discussion on the same?

Srivats

Eric Salo

unread,
Dec 27, 2024, 1:06:19 PM12/27/24
to Srivats P, Protocol Buffers

Srivats P

unread,
Dec 31, 2024, 12:44:09 AM12/31/24
to Eric Salo, Protocol Buffers
No worries, Eric! I'll wait for other folks to return from the holidays to bump up this thread and check again.

Srivats

Srivats P

unread,
Jan 15, 2025, 2:27:04 AM1/15/25
to Eric Salo, Protocol Buffers
Bumping this thread post the holidays.

Looking for some official confirmation on protoc no longer generating the generic RPC services (cc_generic_services, py_generic_services options) starting from Jan 2025.

Wishing everyone a happy new year!

Srivats

Eric Salo

unread,
Jan 15, 2025, 2:32:44 AM1/15/25
to Srivats P, Protocol Buffers
The code paths have all been deleted. I think that's about as official as you can get.

Srivats P

unread,
Jan 16, 2025, 8:18:35 AM1/16/25
to Eric Salo, Protocol Buffers
The code paths have all been deleted. I think that's about as official as you can get.

True that.

Wondering if instead of deleting the code, it could have been converted to a RPC generator plugin that could still be used with protobuf ... that's possibly overkill since we already have GRPC.

Thanks,
Srivats 
Reply all
Reply to author
Forward
0 new messages