Skip to content

Topics validation can be done via Kafka Admin Client. #169

Topics validation can be done via Kafka Admin Client.

Topics validation can be done via Kafka Admin Client. #169

GitHub Actions / Spotbugs Report-(2.7.18) completed Dec 20, 2023 in 0s

SpotBugs Source Code Analyzer report

1 violation(s) found

Annotations

Check warning on line 149 in tw-tkms-starter/src/main/java/com/transferwise/kafka/tkms/TkmsTopicValidator.java

See this annotation in the file changed.

@github-actions github-actions / Spotbugs Report-(2.7.18)

NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE

Possible null pointer dereference in com.transferwise.kafka.tkms.TkmsTopicValidator.validateUsingAdmin(TkmsShardPartition, String, Integer) due to return value of called method
Raw output
The return value from a method is dereferenced without a null check, and the return value of that method is one that should generally be checked for null. This may lead to a NullPointerException when the code is executed.