- When Kafka Streams branching function is provided as a Component bean, there is an issue where the raw class check on the return outbound resolvable type cuases an NPE. Fixing this issue by adding a null check on the return type's raw class. Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2821