Event Store - Scavenging events

當刪除 Event 或是 Stream 時, Event Store 不會立即刪除,硬碟空間也並未被回收,若要讓 Event Store 立即做刪除的處理,可以使用 Event Store 的 Scavenge。 ...

September 29, 2018 · 1 min · 221 words · Larry Nung

Event Store - Max age

要設定 Event Store 的 Stream 內 Event 的存活時間,可以設定 Stream 的 Max age。 ...

September 26, 2018 · 1 min · 206 words · Larry Nung

Event Store - Max count

要設定 Event Store 的 Stream 只存放指定個數的 Event,可以設定 Stream 的 Max count。 ...

September 25, 2018 · 1 min · 289 words · Larry Nung

Event Store - Truncate before

要使用 Event Store 的 Truncate before 刪除指定 Event 編號以前的 Event,可以設定 StreamMetadata。 ...

September 21, 2018 · 1 min · 239 words · Larry Nung

Event Store - Setting up a Cluster using only Database Nodes (OSS)

要啟用 Event Store 的 Cluster 功能,可以開啟 Event Store,設定 IP、Port、與 gossip-seed。 ...

September 18, 2018 · 1 min · 284 words · Larry Nung

Event Store - Subscribing to Receive Stream Updates with .NET API

要使用 Event Store .NET API 訂閱並監聽 Stream 的變化,可以使用 PersistentSubscriptionSettings.Create 設定訂閱,然後調用 Connection.CreatePersistentSubscriptionAsync 方法建立 Persistent Subscriptions。 ...

September 17, 2018 · 1 min · 356 words · Larry Nung

Event Store - Read a Single Event with .NET API

要使用 Event Store .NET API 讀取 Event Store 特定 Stream 內特定的 Event,可以帶入 Stream 的名稱、Event 的編號,調用 Connection.ReadEventAsync 方法。 ...

September 17, 2018 · 1 min · 151 words · Larry Nung

Event Store - Read a Stream of Events with .NET API

要使用 Event Store .NET API 讀取 Event Store 特定 Stream 內的 Event,可以帶入 Stream 的名稱、起始的 Event 編號、以及預計要讀取的 Event 數,去調用 Connetction.ReadStreamEventsForwardAsync 方法。 ...

September 16, 2018 · 1 min · 186 words · Larry Nung

Event Store - Appending to a stream in a single write with .NET API

要使用 Event Store .NET API 發送 Event 給 Event Store,可以先進行 Event Store 的連線。 ...

September 12, 2018 · 1 min · 218 words · Larry Nung

Event Store - Connect with .NET API

要使用 Event Store .NET API 連接 Event Store,先要安裝 EventStore.Client 套件。 ...

September 11, 2018 · 1 min · 347 words · Larry Nung