node-eventstore
node-eventstore copied to clipboard
Azure table is deprecated
Hi there,
azuretables seem deprecated, is there a plan to support cosmos db instead?
Edit:
Cosmos DB - Tables API is not compatible with StoredEvent Attribute id,
var StoredEvent = function (event) { this.PartitionKey = eg.EntityProperty(event.aggregateId); this.RowKey = eg.EntityProperty(event.id); this.aggregateId = eg.EntityProperty(event.aggregateId); this.identifier = eg.EntityProperty(event.id);// Renamed it to be compatible with azure tables in cosmos db this.context = eg.EntityProperty(event.context); this.aggregate = eg.EntityProperty(event.aggregate); this.streamRevision = eg.EntityProperty(event.streamRevision); this.commitId = eg.EntityProperty(event.commitId); this.commitSequence = eg.EntityProperty(event.commitSequence); this.commitStamp = eg.EntityProperty(event.commitStamp); this.header = eg.EntityProperty(event.header); this.dispatched = eg.EntityProperty(event.dispatched || false); this.payload = eg.EntityProperty(JSON.stringify(event.payload)); };
Are snapshots not stored automatically after commit?