I thought about diving into the code because my system has been using the same procedures for years with emqttd and modifying our system to use select statements means adding tables with redundant data, which can get out of sync, becoming a maintenance issue.
But I got these errors when I tried to build master branch:
cc erlang_jq_nif.o port_nif_common.o -pthread -shared -L /src/local/lib/erlang/lib/erl_interface-5.3.2/lib -L ext_libs -lei -ljq -lonig -o ../priv/jq_nif1.so
Undefined symbols for architecture arm64:
"_enif_alloc", referenced from:
_load_helper in erlang_jq_nif.o
_jq_enif_alloc in erlang_jq_nif.o