Skip to main content

onestep-kafka

Kafka connector plugin for onestep.

pip install onestep-kafka

The package registers these YAML resource types through the onestep.resources entry point:

  • kafka
  • kafka_topic

Python usage:

from onestep_kafka import KafkaConnector

YAML usage:

resources:
  kafka_main:
    type: kafka
    bootstrap_servers: "${KAFKA_BOOTSTRAP_SERVERS}"

  orders:
    type: kafka_topic
    connector: kafka_main
    topic: orders.events
    group_id: onestep-orders
    batch_size: 100
    poll_timeout_ms: 1000

Delivery semantics

The plugin disables Kafka auto commit and follows onestep's at-least-once contract. Offsets are committed only after processing reaches ack() or a terminal fail().

If a worker sends output to a sink and exits before the Kafka offset commit succeeds, downstream output can be duplicated. Handlers and downstream sinks should be idempotent when duplicates matter.

Download files

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

Source Distribution

onestep_kafka-0.1.2.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

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

onestep_kafka-0.1.2-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file onestep_kafka-0.1.2.tar.gz.

File metadata

  • Download URL: onestep_kafka-0.1.2.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for onestep_kafka-0.1.2.tar.gz
Algorithm Hash digest
SHA256 eb69e4fa05ae1151460fa67dd23b40af06734f8cdd2a0831b506e4d8a68b25df
MD5 02e8ac92989bf63afd0690626668e8a2
BLAKE2b-256 bb7786728d695d46c08b06a0ff736045e6d87db78fb2edbed62dbfbba5855046

See more details on using hashes here.

File details

Details for the file onestep_kafka-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: onestep_kafka-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for onestep_kafka-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d47ac2106625fec5de26e4ea58ab911ccd2bc26895843ab10e76a5d2ec35ddad
MD5 66ecbbf5be9cf60bb35f2a9062bce528
BLAKE2b-256 1d42602cd6f252508e4b1e0cf285f789b167e82d203fe3536539e587db84becc

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.3

2 files

This release

0.1.2 This release

2 files

0.1.1

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