public ChangeFeedFactory( BlobContainerClient containerClient, SegmentFactory segmentFactory) { _containerClient = containerClient; _segmentFactory = segmentFactory; }
public ChangeFeedFactory( BlobServiceClient blobServiceClient) { _containerClient = blobServiceClient.GetBlobContainerClient(Constants.ChangeFeed.ChangeFeedContainerName); _segmentFactory = new SegmentFactory( _containerClient, new ShardFactory( _containerClient, new ChunkFactory( _containerClient, new LazyLoadingBlobStreamFactory(), new AvroReaderFactory()))); }
public ChangeFeed( BlobContainerClient containerClient, SegmentFactory segmentFactory, Queue <string> years, Queue <string> segments, Segment currentSegment, DateTimeOffset lastConsumable, DateTimeOffset?startTime, DateTimeOffset?endTime) { _containerClient = containerClient; _segmentFactory = segmentFactory; _years = years; _segments = segments; _currentSegment = currentSegment; LastConsumable = lastConsumable; _startTime = startTime; _endTime = endTime; _empty = false; }