Kafka - List topic

要列出 Kafka 的 Topic,可以調用 kafka-topics.sh,帶入參數 –list 指示要列出 topic、–zookeeper 參數指定 ZooKeeper 位置。 ...

September 20, 2018 · 1 min · 76 words · Larry Nung

Kafka - Create topic

要建立 Kafka 的 Topic,可以調用 kafka-topics.sh,帶入 –create 參數指定創建 topic、–zookeeper 參數指定 zookeeper 位置、–topic 參數指定要創建的 topic。 ...

September 20, 2018 · 1 min · 109 words · Larry Nung

Kafka - Download and start kafka server

要使用 Kafka 首先須確定環境中有安裝 Java。 ...

September 19, 2018 · 1 min · 98 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

Event Store - Subscribing to Receive Stream Updates with web interface

要透過 Web interface 去訂閱事件,可切換至 Persistent Subscriptions 頁面,點選 New Subscription 按鈕。 ...

September 6, 2018 · 1 min · 132 words · Larry Nung