EventStore ClientAPI订阅问题

问题描述 投票:0回答:1

我面临EventStore.ClientAPI的订阅问题。我有一个配置为全部订阅且服务已启动的投影管理器,我正在订阅事件,例如$ metadata,$ UserCreated,$ statsCollected等,但我创建的流中没有事件。我在这里很新,请指导我哪里出问题了。

void InitiateProjection(IProjection projection)
        {
            var checkpoint = GetCurrentPosition(projection.GetType());

            _eventStoreConnection.SubscribeToAllFrom(
                checkpoint,
                CatchUpSubscriptionSettings.Default,
                EventAppeared(projection),
                LiveProcessingStarted(projection));
        } 

事件存储-产品创建的事件

enter image description here

c# cqrs event-sourcing event-store
1个回答
0
投票

如果您专门连接到ProductCreatedDomainEvent + d78435fc43fd-a7bf-56c01d7efa25,该怎么办?

作为观察,流名称可能开始给您带来麻烦(除非您更改了系统功能以搜索+或-已经?)

如果您已更改为+,可以尝试与$ ce-ProductCreatedDomainEvent联系,然后看看您得到了什么。

© www.soinside.com 2019 - 2024. All rights reserved.