-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathapplication.yml
More file actions
110 lines (101 loc) · 4.54 KB
/
application.yml
File metadata and controls
110 lines (101 loc) · 4.54 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
feast:
# GRPC service address for Feast Core
# Feast Serving requires connection to Feast Core to retrieve and reload Feast metadata (e.g. FeatureSpecs, Store information)
core-host: ${FEAST_CORE_HOST:localhost}
core-grpc-port: ${FEAST_CORE_GRPC_PORT:6565}
core-authentication:
enabled: false # should be set to true if authentication is enabled on core.
provider: google # can be set to `oauth` or `google`
# if google, GOOGLE_APPLICATION_CREDENTIALS environment variable should be set.
options:
#if provider is oauth following properties need to be set, else serving boot up will fail.
oauth_url: https://localhost/oauth/token #oauth token request url
grant_type: client_credentials #oauth grant type
client_id: <client_id> #oauth client id which will be used for jwt token token request
client_secret: <client_secret> #oauth client secret which will be used for jwt token token request
audience: https://localhost #token audience.
jwkEndpointURI: <jwkEndpointURI> #jwk enpoint uri, used for caching token till expiry.
core-cache-refresh-interval: 10
# Indicates the active store. Only a single store in the last can be active at one time. In the future this key
# will be deprecated in order to allow multiple stores to be served from a single serving instance
active_store: online
security:
authentication:
enabled: false
provider: jwt
options:
jwkEndpointURI: "https://www.googleapis.com/oauth2/v3/certs"
subjectClaim: email
authorization:
enabled: false
provider: http
options:
basePath: http://localhost:3000
# List of store configurations
stores:
# Please see https://api.docs.feast.dev/grpc/feast.core.pb.html#Store for configuration options
- name: online # Name of the store (referenced by active_store)
type: REDIS # Type of the store. REDIS, REDIS_CLUSTER are available options
config: # Store specific configuration. See
host: localhost
port: 6379
# Subscriptions indicate which feature sets needs to be retrieved and used to populate this store
- name: online_cluster
type: REDIS_CLUSTER
config: # Store specific configuration.
# Connection string specifies the host:port of Redis instances in the redis cluster.
connection_string: "localhost:7000,localhost:7001,localhost:7002,localhost:7003,localhost:7004,localhost:7005"
read_from: MASTER
# Redis operation timeout in ISO-8601 format
timeout: PT0.5S
- name: bigtable
type: BIGTABLE
config:
project_id: <gcp_project>
instance_id: <gcp_bigtable_instance>
app_profile_id: <gcp_bigtable_app_profile_id>
- name: cassandra
type: CASSANDRA
config:
connection_string: localhost:9042
data_center: datacenter1
keyspace: feast
tracing:
# If true, Feast will provide tracing data (using OpenTracing API) for various RPC method calls
# which can be useful to debug performance issues and perform benchmarking
enabled: false
# Only Jaeger tracer is supported currently
# https://opentracing.io/docs/supported-tracers/
tracer-name: jaeger
# The service name identifier for the tracing data
service-name: feast_serving
logging:
# Audit logging provides a machine readable structured JSON log that can give better
# insight into what is happening in Feast.
audit:
# Whether audit logging is enabled.
enabled: true
# Whether to enable message level (ie request/response) audit logging
messageLogging:
enabled: false
# Logging forwarder currently provides a machine readable structured JSON log to an
# external fluentd service that can give better insight into what is happening in Feast.
# Accepts console / fluentd as destination
destination: console
fluentdHost: localhost
fluentdPort: 24224
grpc:
server:
# The port number Feast Serving GRPC service should listen on
# It is set default to 6566 so it does not conflict with the GRPC server on Feast Core
# which defaults to port 6565
port: ${GRPC_PORT:6566}
security:
enabled: false
certificateChain: server.crt
privateKey: server.key
server:
# The port number on which the Tomcat webserver that serves REST API endpoints should listen
# It is set by default to 8081 so it does not conflict with Tomcat webserver on Feast Core
# if both Feast Core and Serving are running on the same machine
port: ${SERVER_PORT:8081}