public static final class AccessLogServiceGrpc.AccessLogServiceStub extends io.grpc.stub.AbstractStub<AccessLogServiceGrpc.AccessLogServiceStub>
Service for streaming access logs from Envoy to an access log server.
| Modifier and Type | Method and Description |
|---|---|
protected AccessLogServiceGrpc.AccessLogServiceStub |
build(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.
|
protected AccessLogServiceGrpc.AccessLogServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<AccessLogServiceGrpc.AccessLogServiceStub>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.
Copyright © 2018–2021 The Envoy Project. All rights reserved.