Skip to main content

MeridianKafkaAdapter

CI Cluster conformance PyPI License

meridian-storage-kafka is the Apache Kafka engine adapter for the released Meridian streaming Catalog. This public repository owns exactly this one Python distribution and contributes only meridian_storage.adapters.kafka.

Applications never import this package or confluent_kafka. They use the mapping-first streaming Catalog methods from meridian-storage-streaming: publish, publish_batch, subscribe, poll, acknowledge, negative_acknowledge, and read_range. Replay and ConsumerGroup position changes remain explicit versioned Operations. Deployment IaC installs and selects this adapter through a closed Meridian Binding.

Compatibility

Version 1.0.1 is pinned to:

Component Supported version
Python 3.12, 3.13, 3.14
meridian-storage-core exactly 1.0.0
meridian-storage-semantics exactly 1.0.0
meridian-storage-streaming exactly 1.0.0
confluent-kafka / librdkafka exactly 2.15.0
Apache Kafka 4.1.2, 4.2.1, 4.3.1

Kafka 3.9.2 and 4.0.2 are documented only as archived migration-source boundaries and are not accepted by the runtime or part of the supported production matrix. See docs/compatibility.md for the exact capability and evidence policy.

Install

The adapter is installed only at a composition or deployment boundary:

python -m pip install \
  meridian-storage-core==1.0.0 \
  meridian-storage-semantics==1.0.0 \
  meridian-storage-streaming==1.0.0 \
  meridian-storage-kafka==1.0.1

Version 1.0.1 corrects the upstream sdist digests and Streaming conformance fingerprint in the compatibility ledger shipped with 1.0.0. Runtime contracts and dependency versions are unchanged.

Core discovers the immutable meridian.kafka factory through the meridian_storage.adapters entry-point group. A Binding supplies opaque identity, credential, TLS, topic, group, schema, Capability, and physical fingerprints. Startup performs authenticated probes and read-only physical verification; it never creates topics, changes partitions or retention, installs ACLs, or owns broker/controller lifecycle.

Guarantees

  • At-least-once delivery by default, with ordering only within one logical partition.
  • Opaque, authenticated Cursors, positions, and delivery tokens; raw Kafka topics, partitions, offsets, groups, and generations are never public Data.
  • Monotonic safe-position acknowledgement, negative acknowledgement and redelivery, explicit dead-letter routing, and retained finite range reads.
  • Idempotent Kafka production. Transactional consume-publish is advertised only when its single-Binding and committed-read preconditions are enabled.
  • Stable Meridian failures with Kafka details retained only as redacted adapter diagnostics.
  • Generic audit, lineage, telemetry, lag, rebalance, transaction, and probe evidence through the configured composition boundary.

Authority boundary

Platform or Vangu IaC through MeridianConstructs owns engine selection, provisioning or external reference, state, identities, secrets, ACLs, topic and partition migrations, retention, compaction, recovery, and broker/controller lifecycle. This runtime validates those outputs. It has no infrastructure mutation API and no NativeQuery surface.

See docs/architecture.md, docs/operations.md, and docs/security-and-lifecycle.md.

Development and conformance

python -m pip install -e '.[test]'
ruff check .
ruff format --check .
mypy src scripts conformance/scripts tests
pytest -q -m 'not cluster'
python conformance/scripts/run_cluster.py --kafka-version 4.3.1 --full
python conformance/scripts/run_cluster.py --kafka-version 4.2.1
python conformance/scripts/run_cluster.py --kafka-version 4.1.2

The primary real-cluster profile runs the full acceptance matrix against Apache Kafka 4.3.1. Compatibility profiles repeat portable semantics against 4.1.2 and 4.2.1. Cluster evidence is emitted as a deterministic JSON report and attached to each release with its SPDX SBOM and provenance attestations.

License

Apache License 2.0. See LICENSE and NOTICE.

Download files

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

Source Distribution

meridian_storage_kafka-1.0.1.tar.gz (74.7 kB view details)

Uploaded Source

Built Distribution

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

meridian_storage_kafka-1.0.1-py3-none-any.whl (50.7 kB view details)

Uploaded Python 3

File details

Details for the file meridian_storage_kafka-1.0.1.tar.gz.

File metadata

  • Download URL: meridian_storage_kafka-1.0.1.tar.gz
  • Upload date:
  • Size: 74.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for meridian_storage_kafka-1.0.1.tar.gz
Algorithm Hash digest
SHA256 14157394b6f60763b1b99249e16f39a51cf051e92f34a6a8fe1ef536f993bdb0
MD5 8d8c5dc4035d33bce1d74c4460a8fc3f
BLAKE2b-256 4bcbc53d98c175376b217af33eabadad2b133da107916fafb621d0e61eef1127

See more details on using hashes here.

Provenance

The following attestation bundles were made for meridian_storage_kafka-1.0.1.tar.gz:

Publisher: release.yml on zephytiju/MeridianKafkaAdapter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file meridian_storage_kafka-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for meridian_storage_kafka-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f9bd0a160f6f8e235a164a0ac64f297dea555a533001792e268e6822022930ac
MD5 1c7accff540622526e2432a74ed2e2a8
BLAKE2b-256 77ef004990dd72b32f1db96990500d1f6e3ad4722ee1067121b4e67a53646225

See more details on using hashes here.

Provenance

The following attestation bundles were made for meridian_storage_kafka-1.0.1-py3-none-any.whl:

Publisher: release.yml on zephytiju/MeridianKafkaAdapter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 files

1.0.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