Skip to main content

Tonga is a toolkit for building fault-tolerant, distributed, highly concurrent, event-driven applications

Project description


GitHub Kafka Documentation Status

Asyncio client for event driven app



tonga is a client for build distributed event driven app with Apache Kafka. It is based on the aiokafka. Can be used with 0.9+ Kafka brokers


Tonga defines components to help building an event-driven app:

  • Model events / commands / results
  • Serializer events / commands / results
  • Consume events / commands / results
  • Produce events / commands / results
  • With or without HTTP handler
  • Asyncio

The module provides some implementations:

  • Avro schema serializer
  • Kafka consumer / producer
  • Sanic HTTP request handler


Getting started:

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

tonga-0.0.2.tar.gz (25.4 kB view hashes)

Uploaded source

Built Distribution

tonga-0.0.2-py3-none-any.whl (46.7 kB view hashes)

Uploaded py3

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