Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
aws, cassandra, java
Domain
databases

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.

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

Dominant language
Java
Stars
10
Forks
6
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

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

All issues in aws-samples/amazon-keyspaces-java-driver-helpers

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.