All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.kinesis.clientlibrary.lib.worker.IDataFetcher Maven / Gradle / Ivy

Go to download

The Amazon Kinesis Client Library for Java enables Java developers to easily consume and process data from Amazon Kinesis.

The newest version!
package com.amazonaws.services.kinesis.clientlibrary.lib.worker;

import com.amazonaws.services.kinesis.clientlibrary.types.ExtendedSequenceNumber;
import com.amazonaws.services.kinesis.model.ChildShard;

import java.util.List;

public interface IDataFetcher {

    DataFetcherResult getRecords(int maxRecords);

    void initialize(String initialCheckpoint, InitialPositionInStreamExtended initialPositionInStream);

    void initialize(ExtendedSequenceNumber initialCheckpoint, InitialPositionInStreamExtended initialPositionInStream);

    void advanceIteratorTo(String sequenceNumber, InitialPositionInStreamExtended initialPositionInStream);

    void restartIterator();

    boolean isShardEndReached();

    List getChildShards();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy