serverBuilder.service(GrpcService. builder () .addService( "/client" , clientEndpoint , ClientServiceGrpc. getEventMethod ()) .addService( "/clientList" , clientEndpoint , ClientServiceGrpc. getStreamingMethod ()) .addService( "/user" , userEndpoint , UserServiceGrpc. getEventMethod ()) .addService( "/scope" , scopeEndpoint , ScopeServiceGrpc. getEventMethod ()) .supportedSerializationFormats(GrpcSerializationFormats. values ()) .enableUnframedRequests( true ) .build() , corsBuilder .newDecorator() ) ; 1. enableUnframeRequests(true) 설정을 지정해야 http1.0에서 직접 grpc 통신을 가능하게 해준다. 아르메리아 너무 편한다잉.!! 2. streaming Method는 지원을 해주지 않는다. ㅠ 통신은 Grpc 내부 구조는 Webflux!!.... 조으다.
댓글
댓글 쓰기