chulkilee

chulkilee

Brodex - a thin wrapper for brod (wip) - request for feedback!

Hi all!

Backgorund

As I onboard non-Elixir dev to Elixir projects, one of my goal is to find out any missing pieces or challenges they see.

Currently all Elixir projects are using brod directly - and it works great, but documentation (since it’s eralng project) and interface is somewhat confusing.

So I’m building very thin, mostly unopinionated wrapper of brod.

Goal

  • Add thin layer
  • Keep the all data as-is (e.g. keep charlist, and records)
  • Provide utilities (e.g. functions to convert record to struct, guards for records)
  • Clean up interface

Non-goals

  • Add any more abstraction - such as new supervisor/genserver
  • Have wrapper functions for all brod functions

Status

The current WIP is at WIP - initial implementation by chulkilee · Pull Request #1 · chulkilee/brodex · GitHub

I’m focusing on area my projects are using.

Notes

First of all, thanks a lot for brod maintainers and contributors!

  • Maybe it can be part of brod project like jose does - but I’m not sure it’s a good idea to have different func defs/args between erlang/elixir.
  • I need to take a look on interfaces of kafka_ex - or I may switch to it (and drop Brodex)

Where Next?

Popular in Announcing Top

Qqwy
Hello everyone, I wrote a small library today called MapDiff. It returns a map listing the (smallest amount of) changes to get from map...
New
Crowdhailer
Raxx is an alternative to Plug and is inspired by projects such as Rack(Ruby) and Ring(Clojure). 1.0-rc.1 is now available. To use it re...
New
michalmuskala
Hello everybody. I have just released Jason - a new JSON library. You might be wondering, why do we need a new library? The primary foc...
New
josevalim
Yes, yet another parser combinator library! Most of the parser combinators in the ecosystem are either compile-time, often using AST tra...
159 19951 141
New
kip
ex_cldr provides localisation and internationalisation support based upon the data from the Unicode CLDR project. Unicode released CLDR ...
407 13366 120
New
tmbb
I’ve been working on two packages (not on hex.pm yet) to build admin interfaces for phoenix apps: bureaucrat - which contains a bunch ...
New
woylie
Flop is an Elixir library that applies filtering, ordering and pagination parameters to your Ecto queries. offset-based pagination with...
New

Other popular topics Top

hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New

We're in Beta

About us Mission Statement