in src/main/java/com/aliyun/openservices/aliyun/log/producer/internals/SendProducerBatchTask.java [205:222]
private boolean isRetriableException(Exception e) {
if (e instanceof LogException) {
LogException logException = (LogException) e;
return (logException.GetErrorCode().equals(RetriableErrors.REQUEST_ERROR)
|| logException.GetErrorCode().equals(RetriableErrors.UNAUTHORIZED)
|| logException.GetErrorCode().equals(RetriableErrors.WRITE_QUOTA_EXCEED)
|| logException.GetErrorCode().equals(RetriableErrors.SHARD_WRITE_QUOTA_EXCEED)
|| logException.GetErrorCode().equals(RetriableErrors.EXCEED_QUOTA)
|| logException.GetErrorCode().equals(RetriableErrors.INTERNAL_SERVER_ERROR)
|| logException.GetErrorCode().equals(RetriableErrors.SERVER_BUSY)
|| logException.GetErrorCode().equals(RetriableErrors.BAD_RESPONSE)
|| logException.GetErrorCode().equals(RetriableErrors.PROJECT_NOT_EXISTS)
|| logException.GetErrorCode().equals(RetriableErrors.LOGSTORE_NOT_EXISTS)
|| logException.GetErrorCode().equals(RetriableErrors.SOCKET_TIMEOUT)
|| logException.GetErrorCode().equals(RetriableErrors.SIGNATURE_NOT_MATCH));
}
return false;
}