You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2019/07/30 03:29:30 UTC
[GitHub] [skywalking] aiyanbo edited a comment on issue #3142: Java agent
cannot trace gRPC stream service
aiyanbo edited a comment on issue #3142: Java agent cannot trace gRPC stream service
URL: https://github.com/apache/skywalking/issues/3142#issuecomment-516245715
**proto**
```
import "google/protobuf/empty.proto";
service ProjectService {
rpc GetProjects(google.protobuf.Empty) returns (stream Project) {
}
}
message Project {
int64 id = 1;
string name = 2;
}
```
**client**
```
ManagedChannel channel = ...
ProjectServiceGrpc.ProjectServiceStub stub = ProjectServiceGrpc.newStub(channel)
Empty request = Empty.newBuilder().build();
StreamObserver[Project] observer = ...
stub.getProjects(request, observer);
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services