-
Notifications
You must be signed in to change notification settings - Fork 41.1k
Configuration property for Cassandra's control queries timeout not working - PT2S error on Startup. #26238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
There are already a number of people trying to help you on Stack Overflow. To avoid duplicating effort and wasting people’s time, I’m going to close this one for now. We can re-open it if the Stack Overflow question identifies a bug. I think it would be worth updating your sample that you’ve linked to in your question so that it’s only trying to configure Cassandra in one way. It would also be useful if it used something like Testcontainers to make Cassandra available as the sample does not work in its current form. |
i'm sorry to barge in, but that issue is still relevant as in Spring Cassandra 3.2.2 it's a bit cumbersome to control request timeout when you are developping from a slow VPN and that no query execute under 2s. the current solution i have is using |
@Aelentel This issue was about the control query timeout and we never established what, if anything, the problem may have been. If you would like us to spend some more time investigating, please open a new issue and spend some time providing a complete yet minimal sample that reproduces the problem. You can share it with us by pushing it to a separate repository on GitHub or by zipping it up and attaching it to the new issue. |
@wilkinsona thanks for the answer. |
Did you find the issue? I have same problem in my case, i see that setter in but doesn't affect. |
@yevsh Yes that was indeed the fact that i defined a Cassandra Bean so basically most of the initialization was done by the Bean i defined and not by Spring Boot autoconfigure mechanism. what we did in the end was this, note that the timeout values are in this example coded directly, please don't do that :)
|
|
Spring boot 3.4.2
|
I am using spring boot
2.5.0.M3
.Below are my properties -
What I have seen that these properties are not getting exposed to the DataStax driver. Tried everything to expose it using programmatically but that is not working.
Below is my pom.xml
As per the issue raised here this issue should be fixed in
2.5.0.M1
.Complete error :
Thanks,
The text was updated successfully, but these errors were encountered: