Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,9 @@ private int getLeaderFor(String topic, long partition) {
throw new RuntimeException("No leader found for partition " + partition);
}
return leader;
} catch (RuntimeException e) {
throw e;
} catch (UnsupportedEncodingException e) {
LOG.error("Error parsing JSON in the zookeeper because of the Character Encoding is not supported.");
throw new RuntimeException(e);
} catch (Exception e) {
throw new RuntimeException(e);
}
Expand Down