Class AccessLogServiceGrpc.AccessLogServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<AccessLogServiceGrpc.AccessLogServiceStub>
-
- io.envoyproxy.envoy.service.accesslog.v3.AccessLogServiceGrpc.AccessLogServiceStub
-
- Enclosing class:
- AccessLogServiceGrpc
public static final class AccessLogServiceGrpc.AccessLogServiceStub extends io.grpc.stub.AbstractAsyncStub<AccessLogServiceGrpc.AccessLogServiceStub>
Service for streaming access logs from Envoy to an access log server.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AccessLogServiceGrpc.AccessLogServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)io.grpc.stub.StreamObserver<StreamAccessLogsMessage>streamAccessLogs(io.grpc.stub.StreamObserver<StreamAccessLogsResponse> responseObserver)Envoy will connect and send StreamAccessLogsMessage messages forever.
-
-
-
Method Detail
-
build
protected AccessLogServiceGrpc.AccessLogServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<AccessLogServiceGrpc.AccessLogServiceStub>
-
streamAccessLogs
public io.grpc.stub.StreamObserver<StreamAccessLogsMessage> streamAccessLogs(io.grpc.stub.StreamObserver<StreamAccessLogsResponse> responseObserver)
Envoy will connect and send StreamAccessLogsMessage messages forever. It does not expect any response to be sent as nothing would be done in the case of failure. The server should disconnect if it expects Envoy to reconnect. In the future we may decide to add a different API for "critical" access logs in which Envoy will buffer access logs for some period of time until it gets an ACK so it could then retry. This API is designed for high throughput with the expectation that it might be lossy.
-
-