Skip to content

Commit 11be336

Browse files
Continuous Sync of Featureview (#14965)
Co-authored-by: Riley Karson <[email protected]>
1 parent a025a20 commit 11be336

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

mmv1/products/vertexai/FeatureOnlineStoreFeatureview.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,15 @@ properties:
122122
description: |
123123
Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled runs.
124124
To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}".
125+
conflicts:
126+
- sync_config.0.continuous
125127
default_from_api: true
128+
- name: 'continuous'
129+
type: Boolean
130+
description: |
131+
If true, syncs the FeatureView in a continuous manner to Online Store.
132+
conflicts:
133+
- sync_config.0.cron
126134
- name: 'bigQuerySource'
127135
type: NestedObject
128136
description: |

mmv1/templates/terraform/examples/vertex_ai_featureonlinestore_featureview_cross_project.tf.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ resource "google_vertex_ai_feature_online_store_featureview" "{{$.PrimaryResourc
125125
region = "us-central1"
126126
feature_online_store = google_vertex_ai_feature_online_store.featureonlinestore.name
127127
sync_config {
128-
cron = "0 0 * * *"
128+
continuous = true
129129
}
130130
feature_registry_source {
131131

0 commit comments

Comments
 (0)