Created
December 4, 2013 06:54
-
-
Save memorycraft/7783417 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 MemorycraftKinesisLoggingProcessorFactory implements IRecordProcessorFactory { | |
| /** | |
| * Constructor. | |
| */ | |
| public MemorycraftKinesisLoggingProcessorFactory() { | |
| super(); | |
| } | |
| /** | |
| * {@inheritDoc} | |
| */ | |
| @Override | |
| public IRecordProcessor createProcessor() { | |
| return new MemorycraftKinesisLoggingProcessor(); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment