Skip to main content

arrakis-backend-kafka

Kafka backend for Arrakis server

ci coverage documentation pypi version


Kafka backend for the Arrakis server, part of the LIGO next-generation data delivery (NGDD) project. Serves live, low-latency detector data over Apache Arrow Flight from timeseries published to Kafka topics, along with the recent past held in Kafka's retention window, and manages the publishers that write to those topics.

Resources

Installation

With pip:

pip install arrakis-backend-kafka

With Docker:

docker run --net=host -it containers.ligo.org/ngdd/backends/arrakis-backend-kafka:main

Features

  • Serves live timeseries from Kafka topics over Apache Arrow Flight, with historical requests answered from Kafka's retention window
  • Contiguous transition from historical to live data when a request spans the present
  • Pooled Kafka consumers, so many clients subscribed to the same channels share a single set of readers and one polling thread
  • Fast-forwards to the head of the stream when a subscription falls behind, logging the range that was skipped
  • Publisher management: partition assignment, topic creation and channel registration for publishers defined in TOML configuration, reloaded on SIGHUP
  • Channel metadata kept in compacted Kafka topics and synchronized from remote publishers, so replicas serve a consistent channel table
  • Gap-aware responses that return masked data for missing samples

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arrakis_backend_kafka-0.14.0.tar.gz (80.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arrakis_backend_kafka-0.14.0-py3-none-any.whl (85.2 kB view details)

Uploaded Python 3

File details

Details for the file arrakis_backend_kafka-0.14.0.tar.gz.

File metadata

  • Download URL: arrakis_backend_kafka-0.14.0.tar.gz
  • Upload date:
  • Size: 80.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.13.12 HTTPX/0.28.1

File hashes

Hashes for arrakis_backend_kafka-0.14.0.tar.gz
Algorithm Hash digest
SHA256 f6556196662fce17bc3d2f9300b1a6202ba3ae91907ed6e3917ce815a84a2f1f
MD5 c2e1fa952eab9fbc09a0b775935a9345
BLAKE2b-256 0d70ec8387815c07be1b6f223dc11b9375e296b090e38883b426f7c26a99a3b9

See more details on using hashes here.

File details

Details for the file arrakis_backend_kafka-0.14.0-py3-none-any.whl.

File metadata

File hashes

Hashes for arrakis_backend_kafka-0.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 165a3ad10309238655c1e82e29379e8729ee1bbd5480b39644703bfed7bb41a6
MD5 ce394e5a88069366719139fe2c46760d
BLAKE2b-256 1492196c6ac7690ead916b8a6780fd35ffc3ee30f660f4eb6ceb88dcd4ea1e6e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.14.0 This release

2 files

0.13.0

2 files

0.12.2

2 files

0.12.1

2 files

0.12.0

2 files

0.11.0

2 files

0.10.0

2 files

0.9.1

2 files

0.9.0

2 files

0.8.0

2 files

0.7.1

2 files

0.7.0

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.1

2 files

0.5.0

2 files

0.4.0

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page