Only output projection to partitioned stream

Hi,

from what I’ve found so far, I have to use the following fragment in my projection to output my projection results:

.partitionBy(({ metadata }) => metadata.someProperty)
.outputTo('some-stream', 'some-stream-{0}')

I tried it with only the partitioned stream name - but this results in a stream named “some-stream-{0}”. Is there a way to ONLY output into a stream based on the configured partitioning (e.g. partition by tenant)?

Hi,

Not sure, but you could use emit or linkTo from the handler methods in the projection to have more control perhaps?

Cheers,

Peter