I've extracted an Elixir Jetstream V2 library from @shelf.cafe. Define multiple subscribers, filter on collections and dids, keep track of cursors. All the good stuff! Makes it trivial to connect to the live data stream for atproto in #ElixirLang. Check it out! tangled.org/jola.dev/kite/
Post
tangled.orgjola.dev/kiteAn Elixir atproto Jetstream V2 subscriber library
fwiw: coverage: relay-eval.waow.tech/chart?relays... failover: tangled.org/zat.dev/jets...
Thank you for the library link, I did look at it when I implemented failover for Kite. I think you can simplify it a bit. Timestamps are valid cursors, you don't need to translate them to seq to failover normal live subscriptions
0 reposts2 likes
thanks i’ll take a look! i did all of this quickly after i got stream.waow.tech running so i could switch all my things over, definitely some polish to do
thanks :) i also appreciate your incisive review and corrections here’s a commit (out in v1.0.5) that should clean a few things up tangled.org/zat.dev/jets...