Skip to main content

Helpers for aiokafka clients

Project description

Kafka Helpers

A package with classes designed to make working with aiokafka simpler.

Getting Started

from kafkahelpers import ReconnectingClient

kafka_client = aiokafka.AIOKafkaConsumer()
client = ReconnectingClient(kafka_client, "my_client")

async def my_func(client):
    print("Hello World!")


event_loop.create_task(client.run(my_func))

Installing

The package is simple. All you need to do is install with your favorite package manager.

pip install kafkahelpers

Running the Tests

pytest

Project details


Download files

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

Source Distribution

kafkahelpers-0.0.2.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

kafkahelpers-0.0.2-py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page