Commit 3fd6c7a
authored
Clean up Feast configuration (#611)
* Add validation to Core configuration and fix version loading
Refactor, document, and validate Feast Core Properties
Refactor FeastProperties to support nested store configuration
Localize all store configuration in Serving in Spring configuration
Various configuration updates
* Allow Feast Serving to use types properties instead of maps
* Reuse Feast Core Store model in serving
* Remove redundant config classes for Redis
* Update Serving Beans and Config classes to use ne1w configuration getters
* Remove hot-loading from store configuration. This reduces a bit of
flexibility, but simplifies the code and configuration
* Set default build version in Feast Core "version" field in Feast Properties
* Ensure FeatureSink creation is consistent for both Redis and BigQuery
* Move BigQueryHistoricalRetriever configuration into Retriever from ServingServiceConfig
* Allow a list of stores to be configured for forward compability
* Remove Lombok from Serving configuration
* Update Store configuration loading in serving to use a store model
* Update RedisBackedJobService to instantiate its own Redis Client
* Update comments in FeastProperties
* Fix broken default application.yml and add comments in Serving
* Refactored and cleaned up Feast Core configuration for job runners.
* Remove commented out DataflowRunnerConfig setters
* Clean up getJobManager and simplify field mapping in DataflowRunnerConfig
* Add static factory methods to retrievers
* Remove runner specific comment typo
* Add oneOfStrings validator annotation for configuration validation
* Fix broken Dataflow unit test that depends on GOOGLE_APPLICATION_CREDENTIALS1 parent e461cde commit 3fd6c7a
File tree
49 files changed
+1432
-898
lines changed- core
- src
- main
- java/feast/core
- config
- job/dataflow
- service
- validators
- resources
- test/java/feast/core
- job/dataflow
- service
- ingestion/src/main/java/feast/ingestion/utils
- protos/feast/core
- serving
- src
- main
- java/feast/serving
- configuration
- redis
- config
- controller
- service
- specs
- util/mappers
- resources
- test/java/feast/serving
- controller
- service
- util/mappers
- storage/connectors
- bigquery/src/main/java/feast/storage/connectors/bigquery
- retriever
- writer
- redis/src
- main/java/feast/storage/connectors/redis
- retriever
- writer
- test/java/feast/storage/connectors/redis/retriever
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
49 files changed
+1432
-898
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
41 | 49 | | |
42 | 50 | | |
43 | 51 | | |
| |||
207 | 215 | | |
208 | 216 | | |
209 | 217 | | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
210 | 234 | | |
211 | 235 | | |
Lines changed: 173 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
20 | 27 | | |
21 | 28 | | |
| 29 | + | |
| 30 | + | |
22 | 31 | | |
| 32 | + | |
23 | 33 | | |
24 | 34 | | |
25 | 35 | | |
26 | 36 | | |
27 | 37 | | |
28 | 38 | | |
29 | | - | |
30 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
31 | 60 | | |
32 | 61 | | |
| 62 | + | |
33 | 63 | | |
34 | 64 | | |
35 | 65 | | |
36 | 66 | | |
37 | | - | |
38 | | - | |
| 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 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
39 | 118 | | |
40 | | - | |
41 | | - | |
42 | 119 | | |
43 | | - | |
44 | | - | |
45 | | - | |
| 120 | + | |
| 121 | + | |
46 | 122 | | |
47 | | - | |
48 | | - | |
| 123 | + | |
| 124 | + | |
49 | 125 | | |
50 | 126 | | |
| 127 | + | |
51 | 128 | | |
52 | 129 | | |
53 | 130 | | |
54 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
55 | 135 | | |
56 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
57 | 160 | | |
58 | 161 | | |
| 162 | + | |
59 | 163 | | |
60 | 164 | | |
61 | 165 | | |
62 | 166 | | |
| 167 | + | |
63 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
64 | 173 | | |
65 | | - | |
66 | | - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
67 | 225 | | |
68 | 226 | | |
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
| 51 | + | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
| 62 | + | |
| 63 | + | |
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | 19 | | |
26 | | - | |
27 | 20 | | |
28 | | - | |
29 | 21 | | |
30 | 22 | | |
31 | 23 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 24 | | |
36 | 25 | | |
37 | 26 | | |
| |||
44 | 33 | | |
45 | 34 | | |
46 | 35 | | |
47 | | - | |
| 36 | + | |
48 | 37 | | |
49 | 38 | | |
50 | 39 | | |
51 | 40 | | |
52 | 41 | | |
53 | | - | |
54 | | - | |
| 42 | + | |
55 | 43 | | |
56 | 44 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
78 | 48 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
89 | 52 | | |
90 | | - | |
91 | | - | |
| 53 | + | |
92 | 54 | | |
93 | | - | |
| 55 | + | |
94 | 56 | | |
95 | 57 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | 58 | | |
0 commit comments