Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 1.14 KB

File metadata and controls

17 lines (9 loc) · 1.14 KB

Episode 2 - Change Feed Processor

<- Back to root

This example covers using the Change Feed Processor to create a reactive application that will print changes as they happen in the monitored container through a Delegate.

Starting a Processing

Running dotnet run --processor "somename" will start a processor instance. Multiple processor instances can be started with different names and dynamic scaling will apply.

Starting an Estimator

Running dotnet run --estimator will start an estimator, which takes care of monitoring the pending changes to be read by the processor instances.

Starting a writer

Once at least one processor is started, we can use dotnet run --writer X where X is the amount of documents to write. The process will write random data that will get picked up by the existing processor(s).