Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
1,465 additions
and
491 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# The minimum required config options for loading from local source | ||
{ | ||
"input": { | ||
"type": "Local" | ||
"path": "/tmp/example" | ||
} | ||
|
||
"output" : { | ||
"good": { | ||
"type": "Postgres" | ||
"host": "localhost" | ||
"database": "snowplow" | ||
"username": "postgres" | ||
"password": ${POSTGRES_PASSWORD} | ||
"schema": "atomic" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"input": { | ||
# Enable the local event source | ||
"type": "Local" | ||
# Path for event source. It can be directory or file. | ||
# If it is directory, all the files under given directory will be read recursively. | ||
# Also, given path can be both absolute path or relative path w.r.t. executable. | ||
"path": "./tmp/example" | ||
} | ||
|
||
"output" : { | ||
# Events that pass validation are written to Postgres. | ||
"good": { | ||
"type": "Postgres" | ||
# PostgreSQL host ('localhost' for enabled SSH Tunnel) | ||
"host": "localhost" | ||
# PostgreSQL database port | ||
"port": 5432 | ||
# PostgreSQL database name | ||
"database": "snowplow" | ||
# PostgreSQL user to load data | ||
"username": "postgres" | ||
# PostgreSQL password, either plain text or from an environment variable | ||
"password": "mysecretpassword" | ||
"password": ${?POSTGRES_PASSWORD} | ||
# PostgreSQL database schema | ||
"schema": "atomic" | ||
# JDBC ssl mode | ||
"sslMode": "REQUIRE" | ||
# Maximum number of connections database pool is allowed to reach | ||
"maxConnections": 100 | ||
} | ||
|
||
# Events that fail validation are written to specified stream. | ||
# If this section is removed from config, bad row output will be disabled. | ||
"bad": { | ||
# Enable the local sink as bad row sink | ||
"type": "Local" | ||
# Path for bad row sink. It can be directory or file. | ||
# If it is directory, all the files under given directory will be read recursively. | ||
# Also, given path can be both absolute path or relative path w.r.t. executable. | ||
"path": "./tmp/bad" | ||
} | ||
} | ||
|
||
# Kind of data stored in this instance. Either ENRICHED_EVENTS or JSON | ||
"purpose": "ENRICHED_EVENTS" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"input": { | ||
"type": "Local" | ||
"path": "tmp/example" | ||
} | ||
|
||
"output" : { | ||
"good": { | ||
"type": "Postgres" | ||
"host": "localhost" | ||
"database": "snowplow" | ||
"username": "postgres" | ||
"password": ${POSTGRES_PASSWORD} | ||
"schema": "atomic" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.