MeridianKafkaAdapter
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
Release 1.1.0 validates Kafka protocol/API capabilities independently of broker release numbers. Deployment selects exact package/image locks; historical tested broker versions are conformance records, not startup allowlists. Untested combinations remain unverified.
| Dependency | Public API compatibility bounds | Exact validation recipe |
|---|---|---|
| Core | >=1.1.0,<2 | 1.1.0 |
| Semantics | >=2.0.1,<3 | 2.0.1 |
| Streaming | >=1.0.1,<2 | 1.0.1 |
| confluent-kafka | >=2.15.0,<3 | 2.15.0 |
| Python | >=3.12 | 3.12, 3.13, 3.14 |
See compatibility and migration for real protocol requirements, selected/observed provenance, deployment integrity checks and release validation for exact verified combinations.
Install
Install at the deployment boundary with its own resolved, hashed lock. The
repository's exact regression recipe is requirements-audit.txt:
python -m pip install meridian-storage-kafka==1.1.0 -c requirements-audit.txt
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 --full
python conformance/scripts/run_cluster.py --kafka-version 4.1.2 --full
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
Metadata
Release files for meridian-storage-kafka 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| meridian_storage_kafka-1.1.0.tar.gz | 92.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| meridian_storage_kafka-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 147.6 kB
Release files / meridian_storage_kafka-1.1.0.tar.gz
| Download URL | meridian_storage_kafka-1.1.0.tar.gz |
|---|---|
| Size | 92.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
096a6d48c1d0530afa0588010d76bb6f8c94a328568330813be518103260887f
|
|
BLAKE2b-256 checksum How to use checksums |
bde4956ca9f9d50d77416beec2f11e81dd2f246d1ebd3fb435a557d21aa89360
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logRelease files / meridian_storage_kafka-1.1.0-py3-none-any.whl
| Download URL | meridian_storage_kafka-1.1.0-py3-none-any.whl |
|---|---|
| Size | 55.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c2e79d8f50c5ed4696d04a544e19c5a03332b93145c1f48e0765a49eaf548838
|
|
BLAKE2b-256 checksum How to use checksums |
a936469efe5450478454db2fd1c787595f71a32c7eb4cb61b6bcde57993d60cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency log