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.3.tar.gz (12.7 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.3-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for onestep_kafka-0.1.3.tar.gz
Algorithm Hash digest
SHA256 2a87b06036b119fe5e480dc43a6532cae6772c44a9b927cb319b782ff9c5aa04
MD5 f34ca8910d78afe6db1356ada4ff1ede
BLAKE2b-256 e14e58872af47ca9a8f730c9a6d3c7d7992fea1c07aa1a48d979b186a0509108

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for onestep_kafka-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1db3c44700369caf4f6a647ee1513513665284a2aef41b69d805d499d8435f3c
MD5 43328d06a0363f73814532cd23eaa5e7
BLAKE2b-256 7b3b56260fbcd4dcd5b177f61cd8078093e469caa741ecb415d6a52212cb43a0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 files

0.1.2

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