Skip to content

Commit

Permalink
fix(topicdata): fix NPE for tombstone values in contains search (#1634)
Browse files Browse the repository at this point in the history
Co-authored-by: xpr3sso <xpr3sso@noreply.org>
  • Loading branch information
xpr3sso and xpr3sso authored Dec 17, 2023
1 parent aa6e6e4 commit 2780a78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/akhq/repositories/RecordRepository.java
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,7 @@ private boolean containsAll(String search, Collection<String> in) {
}

return in.parallelStream()
.filter(Objects::nonNull)
.anyMatch(s -> extractSearchPatterns(search)
.stream()
.anyMatch(s.toLowerCase()::contains));
Expand Down

0 comments on commit 2780a78

Please sign in to comment.