<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="187503" data-post-id="187503">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="anfly0" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/anfly0/120/20022_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  anfly0
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Question for those of you that know Kafka better than I do.<br>
Doesn’t <a href="https://erlang.org/doc/man/disk_log.html" rel="nofollow">:disk_log</a> supply most of the “primitives” needed to implement a simple local/single node Kafka-like utility?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="187503" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/what-would-it-take-to-create-kafka-like-solution-in-elixir/33937/22">Post #21</a>
	                </div>
	            </div>
              <div id="likers-container-187503" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="187503"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #21"></div>
  </section>
</div>
    <div class="postbit" id="187561" data-post-id="187561">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="jdumont" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jdumont/120/2353_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  jdumont
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I experimented with disk_log as a Kafka-like event store for a while. Ultimately I decided to go a different route but the discussion might be interesting if it’s something you’re looking at tackling.</p>
<aside class="quote quote-modified" data-post="14" data-topic="24520">
  <div class="title">
    <div class="quote-controls"></div>
    <img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jdumont/48/2353_2.png" class="avatar">
    <div class="quote-title__text-content">
      <a href="https://forum.elixirforum.com/t/opinion-on-file-memory-based-event-sourcing-system/24520/14" rel="nofollow">Opinion on file &amp; memory based event sourcing system</a> <a class="badge-category__wrapper " href="/c/chat-discussions/chat-discussions/167" rel="nofollow"><span data-category-id="167" style="--category-badge-color: #cca771; --category-badge-text-color: #FFFFFF; --parent-category-badge-color: #cca771;" data-parent-category-id="165" data-drop-close="true" class="badge-category --style-square --has-parent"><span class="badge-category__name">Discussions</span></span></a>
    </div>
  </div>
  <blockquote>
    I’m still chipping away at this whenever I get a moment, and thought that I’d provide a quick update on where I’m at. 
I tried using many different options for storing events, all using a shared interface so that I could quickly switch between them. I’ve found some wonderful little features of both Elixir and Erlang and some cool libraries to help me along the way — it really has been a brilliant learning experience! 
So far I’ve tried: 

Simple term_to_binary and File.open(x [:binary, :append])
…
  </blockquote>
</aside>
 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="187561" data-batch-url="/posts/batch_likers">
                        3
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/what-would-it-take-to-create-kafka-like-solution-in-elixir/33937/23">Post #22</a>
	                </div>
	            </div>
              <div id="likers-container-187561" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="187561"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #22"></div>
  </section>
</div>
    <div class="postbit" id="187594" data-post-id="187594">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="WFransen" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/WFransen/120/15594_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  WFransen
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Completely forgot about this, but there was a nice talk about an opinionated kafka library made by someone from Square Enix (if I’m not mistaken).</p><aside class="onebox allowlistedgeneric" data-onebox-src="https://codesync.global/media/from-legacy-to-event-sourcing/">
  <header class="source">
      <img src="https://codesync.global/assets/img/favicon.93e85b1c.png" class="site-icon" alt="" width="38" height="51">

      <a href="https://codesync.global/media/from-legacy-to-event-sourcing/" target="_blank" rel="noopener nofollow ugc" title="02:13PM - 18 December 2019">Code Sync – 18 Dec 19</a>
  </header>

  <article class="onebox-body">
    <div class="aspect-image" style="--aspect-ratio:480/360;"><img src="http://codesync.global/uploads/media/articles/0001/02/thumb_1628_reference.jpg" class="thumbnail" alt="" width="480" height="360"></div>

<h3><a href="https://codesync.global/media/from-legacy-to-event-sourcing/" target="_blank" rel="noopener nofollow ugc">From Legacy To Event Sourcing</a></h3>



  </article>

  <div class="onebox-metadata">
    
    
  </div>

  <div style="clear: both"></div>
</aside>
<p><a href="https://github.com/IanLuites/kvasir" class="onebox" target="_blank" rel="noopener nofollow ugc">https://github.com/IanLuites/kvasir</a></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="187594" data-batch-url="/posts/batch_likers">
                        3
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/what-would-it-take-to-create-kafka-like-solution-in-elixir/33937/24">Post #23</a>
	                </div>
	            </div>
              <div id="likers-container-187594" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="187594"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>