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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for kafkahelpers-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03d06e9a296ff7cb2cc27ae145381a85d0f211e6618ca48d3513d23e6f0da6e2 |
|
MD5 | 41007be9982133bfd1d4d5d03233a55c |
|
BLAKE2b-256 | 797bd4ba36f593ef94741109c14dccc5dc4309ebf921a32d4ea3cad84b89d632 |