Interface NetworkExternalProcessorGrpc.AsyncService

All Known Implementing Classes:
NetworkExternalProcessorGrpc.NetworkExternalProcessorImplBase
Enclosing class:
NetworkExternalProcessorGrpc

public static interface NetworkExternalProcessorGrpc.AsyncService
 NetworkExternalProcessor service defines the contract between Envoy and
 external processing servers for L4 network traffic.
 
  • Method Summary

    Modifier and Type
    Method
    Description
    default io.grpc.stub.StreamObserver<ProcessingRequest>
    process(io.grpc.stub.StreamObserver<ProcessingResponse> responseObserver)
    Process establishes a bidirectional stream between Envoy and the external processing server.
  • Method Details

    • process

      default io.grpc.stub.StreamObserver<ProcessingRequest> process(io.grpc.stub.StreamObserver<ProcessingResponse> responseObserver)
       Process establishes a bidirectional stream between Envoy and the external
       processing server. Envoy sends ProcessingRequests containing network data
       and the server responds with ProcessingResponses containing processing
       decisions and potentially modified data.
       The server should handle processing timeout properly to avoid blocking
       network traffic for extended periods. Any uncaught exceptions will
       be treated as errors and will terminate the stream.
       Implementation note: The server should process requests in the order
       they are received to maintain proper sequencing of network traffic.