Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save memorycraft/7783464 to your computer and use it in GitHub Desktop.
Save memorycraft/7783464 to your computer and use it in GitHub Desktop.
import com.amazonaws.services.kinesis.clientlibrary.interfaces.IRecordProcessor;
import com.amazonaws.services.kinesis.clientlibrary.interfaces.IRecordProcessorFactory;
/**
* Used to create new record processors.
*/
public class MemorycraftKinesisDistanceProcessorFactory implements IRecordProcessorFactory {
/**
* Constructor.
*/
public MemorycraftKinesisDistanceProcessorFactory() {
super();
}
/**
* {@inheritDoc}
*/
@Override
public IRecordProcessor createProcessor() {
return new MemorycraftKinesisDistanceProcessor();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment