protected static boolean isRecoverableException()

in flink-connector-aws/flink-connector-kinesis/src/main/java/org/apache/flink/streaming/connectors/kinesis/proxy/KinesisProxy.java [452:466]


    protected static boolean isRecoverableException(AmazonServiceException ex) {
        if (ex.getErrorType() == null) {
            return false;
        }

        switch (ex.getErrorType()) {
            case Client:
                return ex instanceof ProvisionedThroughputExceededException;
            case Service:
            case Unknown:
                return true;
            default:
                return false;
        }
    }