Пример #1
0
        private static async Task Run()
        {
            var options             = Configuration.GetAWSOptions();
            var amazonKinesisClient = options.CreateServiceClient <IAmazonKinesis>();

            var kinesisStreamManager = new KinesisStreamManager(amazonKinesisClient, "DentonStream");

            var userNotificationSimulator = new UserNotificationSimulator(kinesisStreamManager);
            await userNotificationSimulator.Run();
        }
Пример #2
0
 public HighVolumeSimulator(KinesisStreamManager kinesisStreamManager)
 {
     _KinesisStreamManager = kinesisStreamManager;
 }
Пример #3
0
 public UserNotificationSimulator(KinesisStreamManager kinesisStreamManager)
 {
     _KinesisStreamManager = kinesisStreamManager;
 }