Connect featuremeshd
This guide picks how featuremeshd meets the rest of your data platform. There are three integrations, and each fits one question: who decides when to compute, and who owns the stream.
Before you start, have featuremeshd deployed with hooks pods ( Deploy featuremeshd ), and know which hooks and views you run ( Precomputing features , Materialized views ).
Choose the integration
| You want | Use | Why |
|---|---|---|
| A view to run after its inputs landed, not on a clock | Run a view from an orchestrator | Your orchestrator knows when an export is complete. It checks the keyset's source, sends RECOMPUTE, and follows the run. featuremeshd still computes and writes the sinks |
| The values a hook computes on a Kafka topic, for other consumers | Write results to Kafka | No sink writes to Kafka in this version. A logger on the hook's statement writes each call, and a log collector forwards the lines. The topic gets a best-effort feed of values |
| FeatureQL inside a pipeline that owns the stream | Feed hooks from your own pipeline | Your pipeline decodes a format featuremeshd does not read, writes transactional outputs, or paces a replay. It runs the hook with embedded serving, or calls the statement over HTTP |
What each one changes
- An orchestrator changes only when a view runs. Create the view without
SCHEDULE, so that nothing else runs it. - Kafka through a logger changes nothing in the hook. The topic may miss a row, or get one twice, so its consumers deduplicate and tolerate gaps.
- Your own pipeline replaces featuremeshd for that hook. Your consumer commits the offsets and, over HTTP, writes the values itself. Do not run featuremeshd on the same hook as well ( One runner per hook ).
When every value must reach a topic exactly once, the Kafka route is not enough. Run FeatureQL in the pipeline that owns the topic instead.
Related
- Hooks and views in Python : embedded serving, which your own pipeline runs.
- Monitor and recover : alerting on a view that does not land, and on a logger that drops rows.
On this page