Popularity
4.1
Stable
Activity
0.0
Stable
25
4
6
Monthly Downloads: 2
Programming language: Elixir
License: MIT License
Tags:
Queue
kafka_consumer alternatives and similar packages
Based on the "Queue" category.
Alternatively, view kafka_consumer alternatives based on common mentions on social networks and blogs.
-
oban
๐ Robust job processing in Elixir, backed by modern PostgreSQL or SQLite3 -
broadway
Concurrent and multi-stage data ingestion and data processing with Elixir -
exq
Job processing library for Elixir - compatible with Resque / Sidekiq -
honeydew
Job Queue for Elixir. Clustered or Local. Straight BEAM. Optional Ecto. ๐ช๐ -
Rihanna
Rihanna is a high performance postgres-backed job queue for Elixir -
ecto_job
Transactional job queue with Ecto, PostgreSQL and GenStage -
task_bunny
TaskBunny is a background processing application written in Elixir and uses RabbitMQ as a messaging backend -
kaffe
An opinionated Elixir wrapper around brod, the Erlang Kafka client, that supports encrypted connections to Heroku Kafka out of the box. -
elixir_nsq
An NSQ client for Elixir and Erlang, written in Elixir. -
opq
Elixir queue! A simple, in-memory queue with worker pooling and rate limiting in Elixir. -
hulaaki
DEPRECATED : An Elixir library (driver) for clients communicating with MQTT brokers(via the MQTT 3.1.1 protocol). -
conduit
A message queue framework, with support for middleware and multiple adapters. -
faktory_worker
Elixir Faktory worker https://hexdocs.pm/faktory_worker -
flume
A blazing fast job processing system backed by GenStage & Redis. -
work_queue
Simple implementation of the hungry-consumer model in Elixir -
adap
Create a data stream across your information systems to query, augment and transform data according to Elixir matching rules. -
exdisque
Elixir client for Disque (https://github.com/antirez/disque), an in-memory, distributed job queue. -
dbus
A dumb message bus for sharing data between microservices in a relatively decoupled mechanism -
ActiveJorb
An Elixir-based ActiveJob Compatible Queueing Library
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
Promo
www.influxdata.com
Do you think we are missing an alternative of kafka_consumer or a related project?
README
Kafka consumer
Scalable consumer for Kafka using brod.
Installation
If available in Hex, the package can be installed as:
- Add
kafka_consumer
to your list of dependencies inmix.exs
:
def deps do
[{:kafka_consumer, "~> 2.0"}]
end
- Ensure
kafka_consumer
is started before your application:
def application do
[applications: [:kafka_consumer]]
end
Usage
- Set config or pass default attributes
config :brod,
clients: [
kafka_client: [
endpoints: [{'localhost', 9092}],
auto_start_producers: true
]
]
- Write your own Consumer. Functions handle_async/1 and handle_sync/2 is overridable
defmodule KafkaConsumer.ExampleConsumer do
use KafkaConsumer.Consumer
def handle_async(_message) do
:ok
end
end
- Set event handlers in config.
config :kafka_consumer,
consumers: [
[client: :kafka_client,
group_id: "messaging",
topics: ["message-events", "system-events"],
callback: KafkaConsumer.ExampleConsumer,
callback_args: []]
]
- Define KafkaConsumer.Supervisor as child supervisor of your app.
children = [
supervisor(KafkaConsumer.Supervisor, []),
]
opts = [strategy: :one_for_one, name: YourApplication.Supervisor]
Supervisor.start_link(children, opts)
- Start your app.