Skip to content
المشاريع

حول

Streams changes from a FoundationDB directory to a Kafka topic using FDB's native CDC. See Proposal.md for scope and design.

الأنظمة والبنية التحتية

كيف تُقاس هذه الأرقام

25 نجمة3 التفرعات +1 خلال 24 ساعة

النمو المقاس للنجوم

خلال 24 ساعة
+١
خلال 7 أيام
+١
خلال 15 يومًا
+١
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

Kafka-FDB-Streamline

Streams changes from a FoundationDB directory to a Kafka topic using FDB's native CDC. See Proposal.md for scope and design.

Getting started

make setup && source .venv/bin/activate
make lint

Requires Python 3.12. Commits must be signed — see Signed commits.

Kafka producer behavior and local verification are documented in the Kafka producer specification.

Install

pip install .

Installs the fdb-kafka-bridge distribution, which provides the import packages fdb_kafka_bridge (subpackages bridge, cdc, kafka, serialization) and fdbkafka (generated Protobuf).

libfdb_c is a system requirement that pip does not install. The foundationdb Python package depends on it at runtime: import fdb succeeds without it, but fdb.api_version() raises Unable to locate the FoundationDB API shared library!. For the durable bridge, install an API-800 native client containing the patch specified in native client minimum and build instructions. The 8.0.0 binary in the Dockerfile is a development/CI fixture and does not meet that deployment minimum; matching its version alone is insufficient.

Run the durable bridge

streamline-daemon --stream-name orders --subspace-prefix orders: \
  --kafka-bootstrap-servers localhost:9092

The CLI publishes to fdb.cdc.orders and saves a sink-checked FDB cursor before acknowledging each delivered reply. Run one replica per stream (replicas: 1, Kubernetes strategy: Recreate); overlapping replicas fence each other but cannot retract in-flight Kafka records.

This daemon requires a patched native FDB client containing FoundationDB #14351; the unpatched 8.0.0 client pinned by the development Dockerfile does not qualify. See native client minimum for the exact release-8.0 revision and artifact verification requirements. Configuration, recovery and live tests: FDB checkpoints and CLI.

Contributing

Repo layout, branching, code style and PR workflow: docs/conventions.md. Coding-agent guidance: AGENTS.md.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…