8000 GitHub - dantame/elixir-kafka-producer: Simple proof of concept kafka producer in Elixir
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dantame/elixir-kafka-producer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ElixirKafkaProducer

To start your Phoenix app:

  1. Install dependencies with mix deps.get
  2. Start Phoenix endpoint with mix phoenix.server

Now you can visit localhost:4000 from your browser.

Usage

  • Run the server
  • POST json to "/" in the following format:

{ "topic": "whatever-topic-you-want", "data": {"mustBeAnObject": "data is cool"} }

  • GET on "/?topic=whatever-topic-you-want" will return all of the data currently in kafka for a particular topic

Ready to run in production? Please check our deployment guides.

About

Simple proof of concept kafka producer in Elixir

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0