You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val glueContext: GlueContext = new GlueContext(spark)
20
54
val sparkSession: SparkSession = glueContext.getSparkSession
21
55
@@ -57,32 +91,40 @@ The following configuration for connecting to Amazon Keyspaces with the spark-ca
57
91
Using the RateLimitingRequestThrottler we can ensure that request do not exceed configured Keyspaces capacity. The G1.X DPU creates one executor per worker. The RateLimitingRequestThrottler in this example is set for 1000 request per second. With this configuration and G.1X DPU you will achieve 1000 request per Glue worker. Adjust the max-requests-per-second accordingly to fit your workload. Increase the number of workers to scale throughput to a table.
* The spark-cassandra-connector to allow reads from Amazon Keyspaces. Amazon Keyspaces recommends version 2.5.2 of the spark-cassandra-connector or above.
138
+
* The spark-cassandra-connector to allow reads from Amazon Keyspaces. Amazon Keyspaces recommends version 2.5.2 of the spark-cassandra-connector or above.
97
139
* application.conf containing the cassandra driver configuration for Keyspaces access
98
140
* export-sample.scala script containing the export code.
0 commit comments