Skip to content

Commit 80a334d

Browse files
committed
Add README for ingestion
1 parent 1986381 commit 80a334d

1 file changed

Lines changed: 55 additions & 0 deletions

File tree

ingestion/README.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Feast Ingestion
2+
3+
Feast ingestion creates and runs Apache Beam pipeline to import Feature Row elements from various
4+
sources to multiple stores in Feast.
5+
6+
The configuration for the ingestion is specified in an import job, which can be referred from
7+
[ImportJobSpecs.proto](../protos/feast/specs/ImportJobSpecs.proto). Import job configuration
8+
can be passed as a YAML file following the format in `ImportJobSpecs.proto`.
9+
10+
Example of an import job that listens to Kafka for Feature Row and writes them to Redis.
11+
```yaml
12+
importSpec:
13+
type: kafka
14+
sourceOptions:
15+
server: localhost:9092
16+
topics: topic_1
17+
entities:
18+
- entity_1
19+
schema:
20+
fields:
21+
- featureId: entity_1.feature_1
22+
- featureId: entity_1.feature_2
23+
24+
writeFeatureMetricsToInfluxDb: true
25+
influxDbUrl: http://localhost:8086
26+
influxDbDatabase: my_influx_db
27+
influxDbMeasurement: my_influx_measurement
28+
29+
entitySpecs:
30+
- name: entity_1
31+
description: This is a test entity
32+
33+
featureSpecs:
34+
- id: entity_1.feature_1
35+
entity: entity_1
36+
name: feature_1
37+
owner: feast
38+
valueType: INT64
39+
- id: entity_1.feature_2
40+
entity: entity_1
41+
name: feature_2
42+
owner: feast
43+
valueType: INT64
44+
45+
servingStorageSpec:
46+
id: serving_store
47+
type: redis
48+
options:
49+
host: localhost
50+
port: 6379
51+
52+
errorsStorageSpec:
53+
id: error_store
54+
type: stdout
55+
```

0 commit comments

Comments
 (0)