micronaut-projects / micronaut-redis

Integration between Micronaut and Redis
Apache License 2.0
30 stars 35 forks source link

Add the ability to disable redis #537

Closed sfk-mns closed 3 months ago

sfk-mns commented 3 months ago

This PR replicates what was done to disable kafka https://github.com/micronaut-projects/micronaut-kafka/pull/344/commits

Fixes issue

graemerocher commented 3 months ago

can you add a check that the Redis drivers can no longer be looked up from the context

sfk-mns commented 3 months ago

cc @sdelamo you mentioned to ping you on the original issue if there is a PR https://github.com/micronaut-projects/micronaut-redis/issues/352#issuecomment-1882696038

Can create separate PR's on the branches for 6.x & 7.x, if required

sfk-mns commented 3 months ago

@graemerocher Not sure which classes you meant by driver, I've included RedisClient and StatefulRedisConnection in the checks