1

我正在使用“linkTo”对我的事件进行投影,以按照 Rob Ashton 的建议创建一个单独的流(http://codeofrob.com/entries/re-partitioning-streams-in-the-event-store-for-better -projections.html)但它不起作用。

我什至尝试创建一个在所有流中运行所有事件的项目,但仍然没有使用 linkTo 创建流,如下图所示:

在此处输入图像描述

'linkTo' 需要进行哪些更改才能实际创建流?我正在使用 EventStore 2.0.1 for .NET 在 Windows 8 上运行。我可以在 Event Store 控制台中看到以下内容:

[03284,13,11:16:44.614] Enabling 'Test' projection
[03284,13,11:16:44.663] 'Test' projection source has been written
[03284,14,11:16:44.663] Creating an event distribution point at 'C:0/P:-1'
[03284,14,11:16:44.663] The 'de018cce-02dc-41fa-b0ee-09422fa69ce6' projection subscribed to the 'e0bf8ffc-64a2-4882-8051
-646f4f0e8c39' distribution point
[03284,14,11:16:44.705] The 'de018cce-02dc-41fa-b0ee-09422fa69ce6' subscription has unsubscribed (reader: e0bf8ffc-64a2-
4882-8051-646f4f0e8c39)
4

1 回答 1

0

默认情况下不启用投影。您将需要使用以下命令行参数启动 eventstore:

--run-projections=全部

EventStore 命令行参数

于 2014-05-19T05:21:29.070 回答