aws-samples / aws-samples/amazon-keyspaces-java-driver-helpers
Getting exception when I try to use the throttler class with CqlSessionBuilder
- Langage dominant
- Java
- Étoiles
- 10
- Forks
- 6
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- aws, cassandra, java
- Domaine
- databases
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100