Dmytro Nosan
Dmytro Nosan
I propose adding a note to the documentation explaining that `DynamicPropertyRegistry` does not work with restart-scoped containers (beans), along with the reason behind this limitation. For version 3.4.x, include a...
This hack works with 3.2.x, 3.3.x and 3.4.0-M3 ```java @TestConfiguration(proxyBeanMethods = false) class TestcontainersConfiguration { @Bean @RestartScope public GenericContainer redisContainer() { GenericContainer redisContainer = new GenericContainer("redis:7"); redisContainer.withExposedPorts(6379); redisContainer.withCommand("redis-server", "--requirepass redis_user",...
Thanks, @wilkinsona. No problem at all.
```java @Bean @ConfigurationPropertiesBinding StringToReadFromConverter stringToReadFromConverter() { return new StringToReadFromConverter(); } static class StringToReadFromConverter implements GenericConverter { private static final Set CONVERTIBLE_TYPES; static { CONVERTIBLE_TYPES = Set.of(new ConvertiblePair(String.class, ReadFrom.class)); } @Override...
Is it ok to use `ReadFrom` field type from `io.lettuce.core` in `RedisProperties.Lettuce` properties? ```java /** * Defines from which Redis nodes data is read. */ private ReadFrom readFrom; ```
perhaps it would be beneficial to reach out to someone from the Lettuce team to explore the possibility of adding support for the `regex` and `subnet` types in the `ReadFrom.valueOf(...)`...
@wilkinsona https://github.com/redis/lettuce/pull/3016 It's been merged and will be available in Lettuce **6.5.0.RELEASE**. Meanwhile, I've updated the PR. Could I kindly ask you to review it once again, please? I have...
Thank you, @philwebb I `cherry-pick` your commit 👍
> I wonder if we should hold off on documenting `regex:` and `subnet:` in the metadata until we're using Lettuce 6.5 by default. The feature's still useful before then and...
Another approach could be to temporarily add support for `regex:` and `subnet:` in Spring Boot, and then remove it once version 6.5.0 is released.