aws-samples / aws-samples/amazon-keyspaces-java-driver-helpers

Getting exception when I try to use the throttler class with CqlSessionBuilder

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.