Python client for Strimzi Kafka Bridge
Project description
kafka-bridge-client
Python async client for Strimzi Kafka Bridge. Package include consumer only.
Install
pip install kafka-bridge-client
Usage
from kafka_bridge_client import KafkaBridgeConsumer
consumer = KafkaBridgeConsumer(
'topic1',
'topic2',
group_id='my-group,
auto_offset_reset='earliest',
enable_auto_commit=False,
bootstrap_server='your-kafka-bridge-url',
consumer_name='consumer-name',
)
async for rec in consumer.get_records():
print(rec['value'])
await consumer.commit()
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
Built Distribution
Close
Hashes for kafka-bridge-client-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c89822bd14508b99c81ef160e6336a676dc290bdddf1158a956f422b5ca51bad |
|
MD5 | e19a48f79cc08951c5dacc48a3dd22fb |
|
BLAKE2b-256 | 81137ad57cde748a52623be20047e42611ca66eff05ac541e48482386a07d540 |
Close
Hashes for kafka_bridge_client-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e1741c8a07182ca3b660d6929004a7d23b4391f71068df460267ea7f3e6d98b |
|
MD5 | 24fdc75625541fc2cdd00979000471f2 |
|
BLAKE2b-256 | 6513f299662d39f7b62d22c2eb93c1238fa355fbe6a4369cf415055d95e26482 |