Created
December 4, 2013 07:00
-
-
Save memorycraft/7783464 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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