Ericsson / ered

An Erlang client library for Valkey/Redis Cluster
MIT License
11 stars 6 forks source link

Make ered an application with its own supervision tree #41

Open zuiderkwast opened 3 months ago

zuiderkwast commented 3 months ago

This PR contains some separate commits. It might be better to review them one by one.

ioolkos commented 4 days ago

I have a quick question on line: https://github.com/Ericsson/ered/blob/4374c5e2684dba9cf462a67b4fae4a8415099d33/src/ered_client.erl#L236

is it by design that sth like ({auth, Auth = none}, S) -> S#opts{auth = Auth}; is missing here? At least in connect {auth, none} seems to be allowed.

I built a little plugin using ered as an application as in this PR. Works great so far! :)