Skip to content

v1.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 19 Apr 06:04
· 94 commits to main since this release
8c124bd

With grpcbin, you can test and verify your grpc connection in k8s cluster. e.g. Test nginx grpc timeouts

$ grpcbin unary --message grpc-nginx-test --host grpcbin.example.com --port 8080 \
  --headers caller=grpcbin-cli \
  --response-headers=responder=grpcbin-behind-nginx \
  --delay 1
 
2024/04/19 14:07:01 INFO >>---->>---->>---->>---->>---->>
2024/04/19 14:07:01 INFO Request Inspection
2024/04/19 14:07:01 INFO - requester_ip=10.42.0.112:59696
2024/04/19 14:07:01 INFO - requester_user_agent=grpc-go/1.63.2
2024/04/19 14:07:01 INFO - requester_host=""
2024/04/19 14:07:01 INFO Request Headers
2024/04/19 14:07:01 INFO - user-agent=grpc-go/1.63.2
2024/04/19 14:07:01 INFO - x-forwarded-for=127.0.0.1
2024/04/19 14:07:01 INFO - :authority=grpcbin.example.com
2024/04/19 14:07:01 INFO - x-forwarded-port=80
2024/04/19 14:07:01 INFO - content-type=application/grpc
2024/04/19 14:07:01 INFO - caller=grpcbin-cli
2024/04/19 14:07:01 INFO - x-request-id=15f77df05bc43ee298fbed04f4174be4
2024/04/19 14:07:01 INFO - x-real-ip=127.0.0.1
2024/04/19 14:07:01 INFO - x-scheme=http
2024/04/19 14:07:01 INFO - x-forwarded-proto=http
2024/04/19 14:07:01 INFO - x-forwarded-scheme=http
2024/04/19 14:07:01 INFO - x-forwarded-host=grpcbin.example.com
2024/04/19 14:07:01 INFO <<----<<----<<----<<----<<----<<
2024/04/19 14:07:01 INFO Response Headers
2024/04/19 14:07:01 INFO - date="Fri, 19 Apr 2024 06:07:01 GMT"
2024/04/19 14:07:01 INFO - content-type=application/grpc
2024/04/19 14:07:01 INFO - responder=grpcbin-behind-nginx
2024/04/19 14:07:01 INFO Response Body
2024/04/19 14:07:01 INFO - response=grpc-nginx-test
2024/04/19 14:07:01 INFO Execution time=1.023007343s