Add a RabbitMQ crash source and the finished_func feature necessary to allow ACKs to be sent after crashes are processed. #1220

Closed
wants to merge 7 commits into
from

2 participants

@erikrose
Mozilla member

Fix bug 866970, 866989.

@erikrose erikrose commented on the diff May 6, 2013
socorro/external/rabbitmq/rmq_new_crash_source.py
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+from configman import Namespace, RequiredConfig
+from configman.converters import class_converter
+
+from functools import partial
+
+
+#==============================================================================
+class RMQNewCrashSource(RequiredConfig):
+ """An iterable of crashes from RabbitMQ"""
+
+ required_config = Namespace()
+ required_config.source.add_option(
@erikrose
Mozilla member
erikrose added a line comment May 6, 2013

Need to remove ".source". I'll take care of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@erikrose
Mozilla member

Merged into #1223.

@erikrose erikrose closed this May 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment