Closed eddumelendez closed 1 year ago
- 🐛 bug? The only examples I couldn't migrate were related to Yugabyte because of the driver. It's missing here
Why would you configure jdbc driver manually? It's the responsibility of java.sql.DriverManager
to load proper driver for specific jdbc url.
This is great feedback. Thanks very much, @eddumelendez.
org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory
or org.springframework.data.redis.connection.jedis.JedisConnectionFactory
. The property prefix (spring.data.redis
) and package names are intended to reflect this dependencyI will be submitting a PR for Redpanda :)
@wilkinsona thanks for the explanation! it all makes sense
Before raising any PR. Does activemq and otlp service connections would be welcome? I think so but just wanted to confirm due to there is no specific testcontainers module but at least for otlp there is an official docker image.
Thanks for the offer, @eddumelendez. We're aware of a few places where service connection support is missing. There's the two that you've already mentioned, Apache Artemis, and there may well be others. Pull requests would be welcome if you have the time. Thank you. Just to set expectations, with RC1 being released tomorrow, there's a high chance that any new support won't land until 3.2 now.
Great! Yes, maybe we can create a list of those missing. You mean 3.1 next month, right?
So, probably this issue is already done. Please, feel free to close it and thanks for this feature again!
After tomorrow's RC1 we will try not to add any new features. It may not be a complete freeze, but we generally only fix bugs, improve the documentation, and amend existing functionality in the RC phase. That means that any new service connection support may have to wait until work in 3.2 begins in the summer once 3.1 has shipped.
So, probably this issue is already done. Please, feel free to close it and thanks for this feature again!
Thanks for the really timely feedback and your PRs. They're much appreciated.
First of all, thanks for introducing this feature. I already started using it in my examples
Also, sorry for writing all the way in this issue, but I think it would be much better to understand how to proceed instead of opening many issues/PRs
🐛 bug? The only examples I couldn't migrate were related to Yugabyte because of the driver. It's missing here
🆕 I would like to ask if you will introduce
RedpandaServiceConnection
. Redpanda offers a Kafka-compatible API, and it is very fast. I have almost everything to submit a PR, but I want to ask first :)🔜 🤞🏽 When the time comes, I think adding support for Pulsar would be great. I just created an issue in their repo in case the autoconfiguration support in spring-boot takes longer https://github.com/spring-projects-experimental/spring-pulsar/issues/384
❓ What's the vision of ServiceConnections beyond spring-boot? I mean support in spring-cloud. I think this can be used in spring-cloud-consul, spring-cloud-vault, and spring-cloud-zookeeper. I ask because the Config Data approach offered by those projects could benefit from it. Currently, system properties needs to be added or registered through
@ContextConfiguration(initializers = ...)
which with ServiceConnections could possible be fixed too.❓ Is
RedisServiceConnection
fromorg.springframework.boot.test.autoconfigure.data.redis
instead oforg.springframework.boot.test.autoconfigure.redis
?. Asking for consistency reasons❓ Given the current state of the art, can we introduce
HazelcastServiceConnection
expecting aGenericContainer
similar to Redis? Given the approach to introducing those new integrations, the project should be ready to accept them if needed.If 1, 2, 5, and 6 make sense to you, I can probably help with some or pair with someone else who wants to contribute. I guess a couple of those issues will be fixed by the team 😀
Once again, thank you so much for adding this feature.