scylladb / serverless-examples

Code examples for ScyllaDB Cloud Serverless platform.
Apache License 2.0
2 stars 2 forks source link

serverless-examples

Code examples for ScyllaDB Cloud Serverless platform.

gohelloserverless

Once a connection bundle file has been saved on a local disk, run the following:

cd gohelloserverless
go run main.go -bundle connection-bundle-cluster-name.yaml

jhelloserverless

We are using maven assembly plugin to build a jar with all dependencies needed to run. Remember to provide the path to a valid connection bundle:

cd jhelloserverless
mvn clean compile assembly:single
java -cp target/jhelloserverless-1.0-SNAPSHOT-jar-with-dependencies.jar com.scylladb.JHelloServerless --bundle /path/to/bundle