Skip to main content
Version: 0.7.x

FAQ

Four groups of questions come up most often. For symptom-led diagnosis with log signatures and commands, use Troubleshooting.

Installation​

Which binary do I need?​

arkflow is the engine; arkflow-server is the control-plane Hub. A standalone pipeline needs only arkflow. A fleet needs both, plus one arkflow process per compute node configured in Agent mode (health_check.hub_urls). See Install.

Does ArkFlow need a JVM, Python, or a cluster?​

No. The engine is a Rust binary and runs standalone. Python is optional: the python processor requires a build with connectors-python, and the embedded Python SDK is a separate wheel (pip install arkflow). A cluster is optional and only needed for the control plane.

Why does a config that works in the docs fail with "requires the … feature"?​

You are running a feature-gated build. Rebuild with the connector family, or use a default binary. The error names the missing feature. See Feature-gated builds.

Can I run ArkFlow in Docker or Kubernetes?​

Yes. The image and Helm chart are documented in Docker and Helm. The chart supports standalone, Agent, and control-plane modes.

Versions​

Which version should I run?​

Run the latest stable release. The unversioned documentation describes the development line; use the version dropdown for a released snapshot. The compatibility matrix lists introduced and deprecated surfaces.

How do I upgrade a fleet?​

Upgrade the Hub first, then Agents, within the mixed-version window described in upgrading a mixed fleet. Back up the control-plane store first. See 0.7.0 release notes for the current upgrade path.

Is the Python SDK stable?​

No. It is experimental: the API may change or break in any release. Pin the version and read the changelog before upgrading. See Python SDK limitations.

Are old documentation versions translated?​

0.7.x and the current tree ship with zh-Hans. Older snapshots (0.6.x and earlier) are English-first; the version page states this. See Release notes.

Performance​

How many messages per second can ArkFlow handle?​

There is no single number: throughput depends on payload size, schema, processor count, sink latency, and durability settings. Measure with your own data and the benchmark guide. Start from the default build, then tune thread_num, window sizes, and WAL settings.

Why is my throughput flat while CPU is idle?​

Backpressure. The input worker is blocked on a full bounded channel (1024 batches) because processors or the sink cannot keep up. Check thread_num, sink latency, and window flush size. See Backpressure and buffering.

Does enabling WAL reduce throughput?​

WAL adds a durable write before acknowledgement; the cost depends on sync mode, segment size, and storage. group_commit amortizes fsync across a batch, and object-store WAL adds network round trips. Measure with your workload and read WAL durability and performance.

Can I get exactly-once end to end?​

Only for a Kafka→Kafka pipeline with the transactional output and the L3 input/output pairing, and even then a crash after producer commit but before offset commit can replay unless L3 is configured. Non-transactional sinks are at-least-once; make them idempotent. See Exactly-once delivery.

Control plane​

Do I need the control plane?​

Only to operate many nodes as a fleet (placement, rollout, audit, console). A single process with streams or local jobs runs without it.

What is a Hub vs an Agent?​

The Hub is the authoritative registry and command broker with durable storage. An Agent is the per-node process that registers, reports runtime state, and executes commands. Both share the same HTTP server as health checks. See Control plane overview.

Why does the Hub answer 503?​

A standby Hub answers 503 hub_standby for operator and agent routes; only health/readiness/liveness and metrics are served. 503 stale_leader means a write raced a leadership takeover — retry against the elected leader. See HA and failover.

How do I back up the control plane?​

arkflow-server backup --from <store> --to <snapshot-file> produces a consistent SQLite-format snapshot; restore imports it into an empty store. Both are offline commands. See Backup and restore.

Can one principal approve its own configuration rollout?​

No. The approval gate requires a different principal (approver_id != requester_id), and only admin holds ApproveRollouts. A single static credential identity cannot approve its own submission — configure a second identity before enabling approval_required. See Secrets and approvals.

Where are the API docs?​

The control-plane HTTP API reference is generated from OpenAPI: HTTP API reference. For authentication, roles, and credential lifecycle, start with Users and credentials.