-
Notifications
You must be signed in to change notification settings - Fork 21
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
Usage example of GRPC is unclear #84
Comments
@tehnetaholic Hi! Did you find a workaround? I'm getting the same error with two console clients |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
I launched openmock by running docker-compose and by setting
OPENMOCK_GRPC_ENABLED
andOPENMOCK_GRPC_PORT
Then I made a GRPC request to demo_probuf.ExampleService.ExampleMethod
Request timed out and I see following in logs:
I tried to find what that error means in source code and the only place where
GRPCServiceMap
is assigned is in /grpc_test.goDoes that mean that currently in order to use GRPC mocking one has to write a Go wrapper project?
Thanks!
Sidenote: I'd like to say that it took me some time to find out that one has to enable GRPC by setting
OPENMOCK_GRPC_ENABLED
At first I just set
OPENMOCK_GRPC_PORT
and expected it to work 😅 since a Kafka configuration example which is a few lines below mentionsOPENMOCK_KAFKA_ENABLED
flag. Perhaps Readme.md should mentionOPENMOCK_GRPC_ENABLED
The text was updated successfully, but these errors were encountered: