Title: Not able to set cache configs for file-based registry in Feast Operator · Issue #5708 · feast-dev/feast · GitHub
Open Graph Title: Not able to set cache configs for file-based registry in Feast Operator · Issue #5708 · feast-dev/feast
X Title: Not able to set cache configs for file-based registry in Feast Operator · Issue #5708 · feast-dev/feast
Description: Expected Behavior Users should be able to configure cache_ttl_seconds and cache_mode for file-based registries, similar to how it works for DB-based registries. Current Behavior The Feast Operator CRD does not support configuring cache_t...
Open Graph Description: Expected Behavior Users should be able to configure cache_ttl_seconds and cache_mode for file-based registries, similar to how it works for DB-based registries. Current Behavior The Feast Operator ...
X Description: Expected Behavior Users should be able to configure cache_ttl_seconds and cache_mode for file-based registries, similar to how it works for DB-based registries. Current Behavior The Feast Operator ...
Opengraph URL: https://github.com/feast-dev/feast/issues/5708
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Not able to set cache configs for file-based registry in Feast Operator","articleBody":"## Expected Behavior \n\nUsers should be able to configure `cache_ttl_seconds` and `cache_mode` for file-based registries, similar to how it works for DB-based registries. \n\n## Current Behavior\n\nThe Feast Operator CRD does not support configuring `cache_ttl_seconds` and `cache_mode` registry settings when using file-based registry persistence. These settings are important for controlling registry caching behavior and are supported by the Feast Python SDK, but cannot be set via the operator CRD for file-based registries.\n\nThis works fine for when using a database-backed registry (SQL or Snowflake), you can configure `cache_ttl_seconds` and `cache_mode` via secrets. This works because DB-based registry configurations pass through all secret parameters via `DBParameters` in the operator's `RegistryConfig` struct.\n\nThere's no mechanism to pass additional registry configuration parameters.\n\n## Possible Solution\n\n\n**Option 1: Add fields to `RegistryFilePersistence`**\n```yaml\nspec:\n services:\n registry:\n local:\n persistence:\n file:\n path: s3://bucket/registry.db\n cache_ttl_seconds: 60\n cache_mode: sync\n```\n\n**Option 2: Add a generic config field**\n```yaml\nspec:\n services:\n registry:\n local:\n persistence:\n file:\n path: s3://bucket/registry.db\n config:\n cache_ttl_seconds: 60\n cache_mode: sync\n```\n","author":{"url":"https://github.com/ntkathole","@type":"Person","name":"ntkathole"},"datePublished":"2025-11-03T07:15:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/5708/feast/issues/5708"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5f87b39a-26d4-632b-d7bd-b68b288f8ce9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DDAA:2AE61:737C8CB:98FAC99:696DE65D |
| html-safe-nonce | 8e58f9baaa5544d5e7c2f1c7260558934f480a0c63f8ed18faaddf7b22dcd013 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREFBOjJBRTYxOjczN0M4Q0I6OThGQUM5OTo2OTZERTY1RCIsInZpc2l0b3JfaWQiOiI4Mzg1ODczNjQ5NDk0NTE3MzQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f2b8145873c4c7b11634d0762b66045f615300a0a81f941cf5b1ed3c346dcc35 |
| hovercard-subject-tag | issue:3580866589 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/5708/issue_layout |
| twitter:image | https://opengraph.githubassets.com/daeb970365d7cbff7896623f7f188e693eddcf9c4759261638d80b65bcb9ff99/feast-dev/feast/issues/5708 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/daeb970365d7cbff7896623f7f188e693eddcf9c4759261638d80b65bcb9ff99/feast-dev/feast/issues/5708 |
| og:image:alt | Expected Behavior Users should be able to configure cache_ttl_seconds and cache_mode for file-based registries, similar to how it works for DB-based registries. Current Behavior The Feast Operator ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ntkathole |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064 |
| turbo-cache-control | no-preview |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7e5ae23c70136152637ceee8d6faceb35596ec46 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width