Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service not generated at all for Go #38

Open
J7mbo opened this issue Feb 23, 2024 · 1 comment
Open

Service not generated at all for Go #38

J7mbo opened this issue Feb 23, 2024 · 1 comment

Comments

@J7mbo
Copy link

J7mbo commented Feb 23, 2024

Hi! I'm running the following from StackOverflow (but also from reading the docs here):

docker run --rm -u $$(id -u) -v${PWD}/src/api:/source \
	-v${PWD}/src/api:/output \
	-w/source jaegertracing/protobuf \
	--go_out=/output \
	--go_opt=paths=source_relative \
	--go-grpc_out=/output \
	--go-grpc_opt=paths=source_relative \
	--proto_path=/source \
	-I/usr/include/google/protobuf /source/*.proto

Expectation
This should generate two files, one of them being the service.

Problem
This generates a single file for my protobuf file, but there's no service generated.

Extra info
I can't use --plugins=grpc anywhere, because it says "--plugins is not supported", so I guess that's why the service isn't being generated.

Is there something I'm missing here? If it doesn't support grpc for Go then there's not much point of listing it as an option? Is it just not possible to generate a Go grpc service with this container and so another solution is needed?

@yurishkuro
Copy link
Member

it works fine in jaeger-idl repo

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

No branches or pull requests

2 participants