Skip to content

Commit

Permalink
Merge pull request #4996 from donald-jackson/kraken/int-stream-fix
Browse files Browse the repository at this point in the history
[kraken] fix check to allow integers
  • Loading branch information
timmolter authored Jan 30, 2025
2 parents 1b1089f + e971c5c commit 1f1edcc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ protected String getChannelNameFromMessage(JsonNode message) throws IOException
}

if (message.isArray()) {
if (message.get(0).isLong()) {
if (message.get(0).isInt() || message.get(0).isLong()) {
LOG.trace("Taking channelName from ID from first field LONG).");
long channelId = message.get(0).asLong();
return channels.getOrDefault(channelId, String.valueOf(channelId));
Expand Down

0 comments on commit 1f1edcc

Please sign in to comment.