aws-samples / aws-samples/amazon-keyspaces-java-driver-helpers
Getting exception when I try to use the throttler class with CqlSessionBuilder
- Dominant language
- Java
- Stars
- 10
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I've tried to use the throttler in different contexts such as CqlSession, Spark and DSBulk. I've tried to run the test at AmazonKeyspacesFixedRateThrottlerTest.java too but I have always getting an exception saying that a sync method was called from an async context and it can cause a deadlock and finishes the execution. I tried to debug but I could found what's is going wrong. Do you know how may I solve it? I tried both connect to keyspaces directly and by a VPCE.
Thank you
Contributor guide
Research direction
Start with CqlSessionBuilder and AmazonKeyspacesFixedRateThrottlerTest.java, then reproduce the reported exception in the CqlSession, Spark, or DSBulk contexts mentioned. Trace where a synchronous method is called from an asynchronous context and document the conditions and supported usage that avoid the failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, cassandra, java
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100