Open
Description
I'm trying to enable SingleStreamStrategy to fix performance issues in projections (see proophsoftware/es-emergency-call#5 for details).
For now I'm unable to get it working. EventStore still makes one stream per aggregate instead of per aggregate type. Here is my current configuration:
services:
Prooph\EventStore\Pdo\PostgresEventStore:
arguments: ['@messageFactory', '@eventStoreConnection', '@stream_strategy']
stream_strategy:
class: Prooph\EventStore\Pdo\PersistenceStrategy\PostgresSingleStreamStrategy
In the documentation I found a link to this example to initialize the streams. This creates one more stream in the database but the EventStore is still creating new streams for every new aggregate. Also the example is confusing. Shouldn't I create one stream for each aggregate type instead of just one stream?