Skip to content

Commit

Permalink
Merge pull request #141 from ClickHouse/additional-retriable-errors
Browse files Browse the repository at this point in the history
Update Utils.java
  • Loading branch information
Paultagoras authored Jul 17, 2023
2 parents f0f888a + 04fe4fc commit 4ad019c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/clickhouse/kafka/connect/util/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public static void handleException(Exception e) {
case 252: // TOO_MANY_PARTS
case 285: // TOO_FEW_LIVE_REPLICAS
case 425: // SYSTEM_ERROR
case 1002: // UNKNOWN_EXCEPTION
throw new RetriableException(e);
default:
LOGGER.error("Error code [{}] wasn't in the acceptable list.", clickHouseException.getErrorCode());
Expand Down

0 comments on commit 4ad019c

Please sign in to comment.