Skip to content

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
erikrose commented May 2, 2013

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 note 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
erikrose commented May 8, 2013

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
Something went wrong with that request. Please try again.