-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.env
More file actions
57 lines (51 loc) · 2.01 KB
/
Copy pathexample.env
File metadata and controls
57 lines (51 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# ticketmaster2kafka configuration — copy this file to `.env`.
#
# The blank values below (credentials and the Ticketmaster API key) must be
# supplied; everything else is pre-filled with the deployment's defaults.
# ---- Kafka (where messages are produced) --------------------------------
KAFKA_BOOTSTRAP=
KAFKA_USER=
KAFKA_PASSWORD=
KAFKA_CA_LOCATION=strimzi-ca.crt
# Or supply the broker CA as an inline PEM string instead of a file path
# (takes precedence over KAFKA_CA_LOCATION when set):
# KAFKA_CA_CERT=
KAFKA_SECURITY_PROTOCOL=SASL_SSL
KAFKA_SASL_MECHANISM=SCRAM-SHA-512
KAFKA_TOPIC_BASENAME=nashville-tm
# ---- Postgres / TimescaleDB (where rows are written) --------------------
DB_HOST=
DB_PORT=5432
DB_DBNAME=NDOT
DB_USER=
DB_PASSWORD=
# Hypertable created by ticketmaster_tables.sql.
DB_TABLE=laddms.tm_events
# ---- Service settings ---------------------------------------------------
SERVICE_NAME=ticketmaster2kafka
TM_BASE_URL=https://app.ticketmaster.com
HTTP_TIMEOUT_S=30
# Poll cadence, in minutes.
TM_POLL_MINS=60
# ---- Ticketmaster Discovery API -----------------------------------------
TICKETMASTER_API_KEY=
TM_PAGE_SIZE=200
TM_COUNTRY_CODE=US
# Forward-looking window (days) used when no absolute bounds are given.
TM_WINDOW_DAYS=28
# Absolute bounds; when set they win over TM_WINDOW_DAYS.
# TM_START_ISO=
# TM_END_ISO=
# Extra query params, comma separated: "classificationName=music,city=Nashville"
# TM_EXTRA_PARAMS=
# ---- Telemetry ----------------------------------------------------------
# Logs (JSON on stdout) and the Prometheus /metrics endpoint are on
# automatically — nothing to set here. Set TELEMETRY_LOG_LEVEL=DEBUG for
# debug logging (replaces the old LOG_PATH / DEBUG flags).
#
# Profiling: activate to record where your code spends its CPU time (shows up
# as flame graphs in Grafana). Uncomment all four lines and fill in the password.
# TELEMETRY_PROFILING=true
# TELEMETRY_PYROSCOPE_SERVER=https://lvtelemetry.isis.vanderbilt.edu/pyroscope
# TELEMETRY_WRITE_USER=ingest
# TELEMETRY_WRITE_PASSWORD=