Skip to content

singlestore-labs/singlestore-fivetran-destination

Repository files navigation

SingleStore Fivetran Destination

Pre-requisites for development

  • JDK v17
  • Gradle 8 (here is an installation instruction)

Steps for starting server

  1. Build the Jar
gradle jar
  1. Run the Jar
java -jar build/libs/singlestore-fivetran-destination-1.0.5.jar 

Steps for running Java tests

  1. Start SingleStore cluster
docker run \
    -d --name singlestoredb-dev \
    -e SINGLESTORE_LICENSE="YOUR SINGLESTORE LICENSE" \
    -e ROOT_PASSWORD="YOUR SINGLESTORE ROOT PASSWORD" \
    -p 3306:3306 -p 8080:8080 -p 9000:9000 \
    ghcr.io/singlestore-labs/singlestoredb-dev:latest
  1. Create ROOT_PASSWORD environment variable
export ROOT_PASSWORD="YOUR SINGLESTORE ROOT PASSWORD"
  1. Run tests
gradle build

Steps for using Destination tester

  1. Start SingleStore cluster
  2. Re-create tester database
drop database if exists tester;
create database tester;
  1. To run the tester follow instructions from here. As a command use You can use
docker run --mount type=bind,source=./data-folder,target=/data -a STDIN -a STDOUT -a STDERR -it -e WORKING_DIR=./data-folder -e GRPC_HOSTNAME=localhost --network=host fivetrandocker/sdk-destination-tester:024.0309.001