Skip to content

Commit

Permalink
chore: Add Template for Couchbase Online Store (#4836)
Browse files Browse the repository at this point in the history
Add Template for Couchbase Online Store

Signed-off-by: Elliot Scribner <[email protected]>
  • Loading branch information
ejscribner authored Dec 12, 2024
1 parent b4768a8 commit 88a92cf
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 0 deletions.
1 change: 1 addition & 0 deletions sdk/python/feast/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,7 @@ def materialize_incremental_command(ctx: click.Context, end_ts: str, views: List
"cassandra",
"hazelcast",
"ikv",
"couchbase",
],
case_sensitive=False,
),
Expand Down
Empty file.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
project: my_project
registry: /path/to/registry.db
provider: local
online_store:
type: couchbase
connection_string: COUCHBASE_CONNECTION_STRING # Couchbase connection string, copied from 'Connect' page in Couchbase Capella console
user: COUCHBASE_USER # Couchbase username from database access credentials
password: COUCHBASE_PASSWORD # Couchbase password from database access credentials
bucket_name: COUCHBASE_BUCKET_NAME # Couchbase bucket name, defaults to feast
kv_port: COUCHBASE_KV_PORT # Couchbase key-value port, defaults to 11210. Required if custom ports are used.
entity_key_serialization_version: 2
45 changes: 45 additions & 0 deletions sdk/python/feast/templates/couchbase/gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*.pyo
*.pyd

# C extensions
*.so

# Distribution / packaging
.Python
env/
venv/
ENV/
env.bak/
venv.bak/
*.egg-info/
dist/
build/
.venv

# Pytest
.cache
*.cover
*.log
.coverage
nosetests.xml
coverage.xml
*.hypothesis/
*.pytest_cache/

# Jupyter Notebook
.ipynb_checkpoints

# IDEs and Editors
.vscode/
.idea/
*.swp
*.swo
*.sublime-workspace
*.sublime-project

# OS generated files
.DS_Store
Thumbs.db

0 comments on commit 88a92cf

Please sign in to comment.