public abstract class AccessLogService extends Object implements com.google.protobuf.Service
Service for streaming access logs from Envoy to an access log server.Protobuf service
envoy.service.accesslog.v4alpha.AccessLogService| Modifier and Type | Class and Description |
|---|---|
static interface |
AccessLogService.BlockingInterface |
static interface |
AccessLogService.Interface |
static class |
AccessLogService.Stub |
| Modifier | Constructor and Description |
|---|---|
protected |
AccessLogService() |
| Modifier and Type | Method and Description |
|---|---|
void |
callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done) |
static com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptorForType() |
com.google.protobuf.Message |
getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
com.google.protobuf.Message |
getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
static AccessLogService.BlockingInterface |
newBlockingStub(com.google.protobuf.BlockingRpcChannel channel) |
static com.google.protobuf.BlockingService |
newReflectiveBlockingService(AccessLogService.BlockingInterface impl) |
static com.google.protobuf.Service |
newReflectiveService(AccessLogService.Interface impl) |
static AccessLogService.Stub |
newStub(com.google.protobuf.RpcChannel channel) |
abstract void |
streamAccessLogs(com.google.protobuf.RpcController controller,
StreamAccessLogsMessage request,
com.google.protobuf.RpcCallback<StreamAccessLogsResponse> done)
Envoy will connect and send StreamAccessLogsMessage messages forever.
|
public static com.google.protobuf.Service newReflectiveService(AccessLogService.Interface impl)
public static com.google.protobuf.BlockingService newReflectiveBlockingService(AccessLogService.BlockingInterface impl)
public abstract void streamAccessLogs(com.google.protobuf.RpcController controller,
StreamAccessLogsMessage request,
com.google.protobuf.RpcCallback<StreamAccessLogsResponse> done)
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.
rpc StreamAccessLogs(stream .envoy.service.accesslog.v4alpha.StreamAccessLogsMessage) returns (.envoy.service.accesslog.v4alpha.StreamAccessLogsResponse);public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Servicepublic final void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)
callMethod in interface com.google.protobuf.Servicepublic final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getRequestPrototype in interface com.google.protobuf.Servicepublic final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getResponsePrototype in interface com.google.protobuf.Servicepublic static AccessLogService.Stub newStub(com.google.protobuf.RpcChannel channel)
public static AccessLogService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
Copyright © 2018–2021 The Envoy Project. All rights reserved.