Hi,
I am working on a proof of concept, so I have the following code.
var projection = @"
fromCategory('Contact')
.when({
$init: function(){
return {
count: 0
};
},
$any: function(s,e){
if (e.data.Addresses.some(function (item) {
return item.City === ""Frankfort"";
})){
s.count += 1;
}
}
});";
var user = new EventStore.ClientAPI.SystemData.UserCredentials("admin", "changeit");
var dns = new DnsEndPoint("eventstore.default.svc.cluster.local", 2113);
var projectionManager = new ProjectionsManager(new ConsoleLogger(), dns, TimeSpan.FromMinutes(5));
await projectionManager.CreateContinuousAsync($"Contacts-Frankfort-{Guid.NewGuid()}", projection, user);
``
This is running against a three cluster system on Kubernetes. In the admin tool, I can see that the projection is created and has run.
However, when I click on the click from the dashboard to see the details, I get this
Any ideas on why this is happening?
Cheers,
Eric