Demo:
export DB_USER=discogs; \
export DB_PASSWORD=discogs; \
export DB_URL='jdbc:postgresql://localhost:5432/discogs'; \
./gradlew run --args='https://discogs-data.s3-us-west-2.amazonaws.com/data/2019/discogs_20190801_artists.xml.gz'
Clone https://github.com/tslic/discogs-dump-reader and https://github.com/tslic/discogs-jooq.
Publish both to local maven repo: ./gradlew publishToMavenLocal
Create a database schema in PostgreSQL using this file https://github.com/tslic/discogs-jooq/blob/master/schema.sql.