Empty response handling in serving api by pradithya · Pull Request #3 · feast-dev/feast
if (response.getEntitiesCount() < 1) { responseObserver.onError( new StatusRuntimeException( Status.fromCode(NOT_FOUND) .withDescription("No value is found for the requested feature"))); return; }
innerSpan.log("calling onNext"); responseObserver.onNext(response); innerSpan.log("calling onCompleted");