Пример #1
0
 public KinesisLogger(KinesisConfig cfg)
 {
     _cfg        = cfg;
     _client     = new Lazy <AmazonKinesisClient>(() => new KinesisClientProvider(_cfg).GetKinesisClient());
     _streamName = new Lazy <string>(() => new KinesisClientProvider(_cfg).GetStatLoggingKinesisStreamName());
 }
 public KinesisClientProvider(KinesisConfig cfg)
 {
     _cfg          = cfg;
     _credProvider = new Lazy <IKinesisCredentialsProvider>(() => new KinesisCredentialsProvider(cfg));
 }
Пример #3
0
 public KinesisCredentialsProvider(KinesisConfig cfg)
 {
     _cfg = cfg;
 }