Skip to content

Commit 6a27010

Browse files
authored
Add some documentation on running feast-serving with feast 0.10 (#41)
Signed-off-by: Achal Shah <[email protected]>
1 parent eb58e01 commit 6a27010

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

CONTRIBUTING.md

+9
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,15 @@ make build-docker REGISTRY=gcr.io/kf-feast VERSION=develop
5656
```
5757

5858

59+
#### IDE Setup
60+
If you're using IntelliJ, some additional steps may be needed to make sure IntelliJ autocomplete works as expected.
61+
Specifically, proto-generated code is not indexed by IntelliJ. To fix this, navigate to the following window in IntelliJ:
62+
`Project Structure > Modules > datatypes-java`, and mark the following folders as `Source` directorys:
63+
- target/generated-sources/protobuf/grpc-java
64+
- target/generated-sources/protobuf/java
65+
- target/generated-sources/annotations
66+
67+
5968
## Feast Core
6069
### Environment Setup
6170
Setting up your development environment for Feast Core:

serving/README.md

+11
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,14 @@ with open("/tmp/000000000000.avro", "rb") as f:
8888
print(df.head(5))
8989
EOF
9090
```
91+
#### Working with Feast 0.10+
92+
Feast serving supports reading feature values materialized into Redis by feast 0.10+. To configure this, feast-serving
93+
needs to be able to read the registry file for the project.
94+
The location of the registry file can be specified in the `application.yml` like so:
95+
```yaml
96+
feast:
97+
registry: "src/test/resources/docker-compose/feast10/registry.db"
98+
```
99+
100+
This changes the behaviour of feast-serving to look up feature view definitions and specifications from the registry file instead
101+
of the core service.

0 commit comments

Comments
 (0)