Steps:
- Clone the project and replace the private members
connectionStringandeventHubNameofProgramclass inProgram.csfile. - Build and run the VS solution.
- Go to Azure Portal -> Your Event Hub Namespace -> Your Event Hub -> Process data -> Enable real time insights from events.
- You should see the sample data in your Event Hub like the screenshot below.
Reference:
