# YAML equivalent of `faucet-stream/examples/redis_to_sqlite.rs`.
# Redis list → SQLite with AutoMap column mapping.
version: 1
name: redis_to_sqlite
pipeline:
source:
type: redis
config:
url: redis://localhost:6379
source_type:
type: List
key: jobs:pending
max_records: 10000
sink:
type: sqlite
config:
database_url: sqlite:./cache.db
table_name: jobs
column_mapping:
type: auto_map
batch_size: 500
max_connections: 4