Git Product home page Git Product logo

asterisk-res_kafka's Introduction

asterisk-res_kafka

Kafka resources for Asterisk

This module provide backend to connect Kafka brokers as producer and consumer services.

Configuration stored by Asterisk sorcery, default in file kafka.conf

[cluster_1]

type=cluster

brokers=rocket-01.srvs.cloudkafka.com:9094,rocket-02.srvs.cloudkafka.com:9094,rocket-03.srvs.cloudkafka.com:9094

security_protocol=sasl_ssl

sasl_mechanism=SCRAM-SHA-256

sasl_username=...

sasl_password=...

[producer_a]

type=producer

cluster=cluster_1

[consumer_b]

type=consumer

cluster=cluster_1 partition=0

[topic_a]

type=topic

pipe=pipe_1

topic=topic_for_producer

producer=producer_a

[topic_b]

type=topic

pipe=pipe_1

topic=topic_for_consumer

consumer=consumer_a

For this example if other Asterisk modules send a message to the "pipe_1", than message posted to the topic "topic_for_producer" at cluster "cluster_1". If other Asterisk modules need to subscribe topic "topic_for_consumer" from "cluster_1" it must read "pipe_1".

asterisk-res_kafka's People

Contributors

vedga avatar

Watchers

 avatar

Forkers

silentindark

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.