Skip to main content

No project description provided

Project description

Azure Functions Python Binding for Kafka

This project provides Kafka binding for Azure Functions written in Python that makes it easy to consume Kafka messages from one topic.

Features

  • Reading from a Kafka topic

Getting Started

Installation via PyPI

pip install azure-functions-kafka-binding

Installation via Git

git clone https://github.com/Azure/azure-functions-kafka-extension

cd ./bindings_library/python/

python setup.py install

Minimum Requirements

  • Python 3.6
  • See setup.py for dependencies

Usage

from azure_functions.kafka import KafkaEvent

def kafkaConsume(kevent: KafkaEvent):
    print(kevent.get_body().decode('utf-8'))

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

azure-functions-kafka-binding-1.0.1.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

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