127.5. gRPC 생산자 리소스 유형 매핑

아래 표는 수신 및 발신 매개 변수의 유형(간단 또는 스트림)과 호출 스타일(동기적 또는 비동기)에 따라 메시지 본문에 있는 개체 유형을 보여줍니다. 비동기 스타일로 들어오는 스트림 매개 변수를 사용하여 프로시저를 호출하는 것은 허용되지 않습니다.Note that invocation of the procedures with incoming stream parameter in asynchronous style are not allowed.

호출 스타일요청 유형응답 유형요청 본문 유형결과 본문 유형

synchronous

simple

simple

개체

개체

synchronous

simple

stream

개체

list<Object>

synchronous

stream

simple

허용되지 않음

허용되지 않음

synchronous

stream

stream

허용되지 않음

허용되지 않음

asynchronous

simple

simple

개체

list<Object>

asynchronous

simple

stream

개체

list<Object>

asynchronous

stream

simple

Object 또는 List<Object>

list<Object>

asynchronous

stream

stream

Object 또는 List<Object>

list<Object>