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.

Filename, size & hash SHA256 hash help File type Python version Upload date
tonga-0.0.2-py3-none-any.whl (46.7 kB) Copy SHA256 hash SHA256 Wheel py3
tonga-0.0.2.tar.gz (25.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page