-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
RedisElementReader.read
allow return null,but ReactiveXXXOperations
using Flux.map
will result in The mapper [......] returned a null value.
errors.
Lines 339 to 345 in 5568ffd
public Flux<V> members(K key) { | |
Assert.notNull(key, "Key must not be null"); | |
return createFlux(connection -> connection.sMembers(rawKey(key)).map(this::readValue)); | |
} | |
In my case, RedisElementReader.read
well return null when illegal data format.
Is using .mapNotNull
better ?