EventStore with NServiceBus

How can I use GetEventStore with NServiceBus for persisting events and Replay events. Is there any sample application that can be referred. Thanks.

You could but nservicebus has no support for the concept of replays...

Or you could just use catchupsubscription which will do the replay for you.

I talk a bit about why you dont generally want a service bus between
an event store and projections in my polyglot data talk