dpimkin / json-to-parquet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Requirements

  • installed JDK 17

How to build

./gradlew clean build

How to run

java -Xmx8G -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:Tier4CompileThreshold=2 -jar build/libs/demo-0.0.1-SNAPSHOT.jar

How to use

# upload file
curl -X POST -F "file=@/path/to/file.json" http://localhost:8080/api/v1/upload
# and convert it with SNAPPY compression level
curl -X POST http://localhost:8080/api/v1/convert/SNAPPY/file.json

GraalVM support (WIP)

How to build native image

./gradlew bootBuildImage

Hot to run native image with Docker

docker run --rm -p 8080:8080 docker.io/library/demo:0.0.1-SNAPSHOT

native build with maven (WIP)

mvn clean -DskipTests -Pnative package native:compile

About


Languages

Language:Java 100.0%