generated from estuary/flow-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path3_materialize.flow.yaml
38 lines (36 loc) · 1.01 KB
/
3_materialize.flow.yaml
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
import:
- 2_derive.flow.yaml
# Materializations bind a collection to a destination endpoint.
materializations:
examples/segment/tables:
endpoint:
flowSink:
image: ghcr.io/estuary/materialize-postgres:7af5397
config:
host: localhost
port: 5432
user: flow
password: flow
database: flow
bindings:
- source: examples/segment/memberships
resource:
table: segment_memberships
- source: examples/segment/profiles
resource:
table: segment_profiles
fields:
include:
segments: {}
recommended: true
# Run `node demo-webhook-api.js` before materializing to this endpoint.
#examples/segment/profile-hooks:
# endpoint:
# flowSink:
# image: ghcr.io/estuary/materialize-webhook:7af5397
# config:
# address: http://localhost:9000/
#
# bindings:
# - source: examples/segment/profiles
# resource: { relativePath: /profiles }