The `getAdapter` used by the `RedisQueryEngine` logic to get the adapter can return null. To avoid this, we can use `getRequiredAdapter`.