Class AccessLogService
- java.lang.Object
-
- io.envoyproxy.envoy.service.accesslog.v2.AccessLogService
-
- All Implemented Interfaces:
com.google.protobuf.Service
- Direct Known Subclasses:
AccessLogService.Stub
public abstract class AccessLogService extends Object implements com.google.protobuf.Service
Service for streaming access logs from Envoy to an access log server.
Protobuf serviceenvoy.service.accesslog.v2.AccessLogService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAccessLogService.BlockingInterfacestatic interfaceAccessLogService.Interfacestatic classAccessLogService.Stub
-
Constructor Summary
Constructors Modifier Constructor Description protectedAccessLogService()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcallMethod(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.ServiceDescriptorgetDescriptor()com.google.protobuf.Descriptors.ServiceDescriptorgetDescriptorForType()com.google.protobuf.MessagegetRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)com.google.protobuf.MessagegetResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)static AccessLogService.BlockingInterfacenewBlockingStub(com.google.protobuf.BlockingRpcChannel channel)static com.google.protobuf.BlockingServicenewReflectiveBlockingService(AccessLogService.BlockingInterface impl)static com.google.protobuf.ServicenewReflectiveService(AccessLogService.Interface impl)static AccessLogService.StubnewStub(com.google.protobuf.RpcChannel channel)abstract voidstreamAccessLogs(com.google.protobuf.RpcController controller, StreamAccessLogsMessage request, com.google.protobuf.RpcCallback<StreamAccessLogsResponse> done)Envoy will connect and send StreamAccessLogsMessage messages forever.
-
-
-
Method Detail
-
newReflectiveService
public static com.google.protobuf.Service newReflectiveService(AccessLogService.Interface impl)
-
newReflectiveBlockingService
public static com.google.protobuf.BlockingService newReflectiveBlockingService(AccessLogService.BlockingInterface impl)
-
streamAccessLogs
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.v2.StreamAccessLogsMessage) returns (.envoy.service.accesslog.v2.StreamAccessLogsResponse);
-
getDescriptor
public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
-
getDescriptorForType
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Service
-
callMethod
public 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)- Specified by:
callMethodin interfacecom.google.protobuf.Service
-
getRequestPrototype
public final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
- Specified by:
getRequestPrototypein interfacecom.google.protobuf.Service
-
getResponsePrototype
public final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
- Specified by:
getResponsePrototypein interfacecom.google.protobuf.Service
-
newStub
public static AccessLogService.Stub newStub(com.google.protobuf.RpcChannel channel)
-
newBlockingStub
public static AccessLogService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
-
-