Just a quick tip: If you need to specify the embedded Redis URI for Micronaut tests (e.g. when testing connectivity to Redis), then you just have to write the following in application.yml:
redis.embedded:
uri: redis://localhost:1337
Here is how to set the port:
redis.embedded:
port: 1337
You can just open EmbeddedRedisServer from micronaut-redis-lettuce and check out the code yourself.