diff --git a/amazon_kclpy/jars/__init__.py b/amazon_kclpy/jars/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/amazon_kclpy/kcl.py b/amazon_kclpy/kcl.py index e77a2fe..14d6331 100644 --- a/amazon_kclpy/kcl.py +++ b/amazon_kclpy/kcl.py @@ -175,7 +175,7 @@ def initialize(self, shard_id): :type shard_id: str :param shard_id: The shard id that this processor is going to be working on. ''' - return + raise NotImplementedError @abc.abstractmethod def process_records(self, records, checkpointer): @@ -192,7 +192,7 @@ def process_records(self, records, checkpointer): :type checkpointer: amazon_kclpy.kcl.Checkpointer :param checkpointer: A checkpointer which accepts a sequence number or no parameters. ''' - return + raise NotImplementedError @abc.abstractmethod def shutdown(self, checkpointer, reason): @@ -210,7 +210,7 @@ def shutdown(self, checkpointer, reason): shard so that this processor will be shutdown and new processor(s) will be created to for the child(ren) of this shard. ''' - return + raise NotImplementedError class MalformedAction(Exception): '''