Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
removing deprecated references to fluentd sqs (#1644)
Browse files Browse the repository at this point in the history
  • Loading branch information
Phrozyn committed Jun 24, 2020
1 parent 3090d1f commit bfea37d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 143 deletions.
10 changes: 0 additions & 10 deletions mq/esworker_sqs.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,16 +200,6 @@ def run(self):
event = dict()
event = msgbody

# Was this message sent by fluentd-sqs
fluentd_sqs_specific_fields = {"az", "instance_id", "__tag"}
if fluentd_sqs_specific_fields.issubset(set(msgbody.keys())):
# Until we can influence fluentd-sqs to set the
# 'customendpoint' key before submitting to SQS, we'll
# need to do it here
# TODO : Change nubis fluentd output to include
# 'customendpoint'
event["customendpoint"] = True

if "tags" in event:
event["tags"].extend([options.taskexchange])
else:
Expand Down
132 changes: 0 additions & 132 deletions mq/plugins/fluentdSqsFixup.py

This file was deleted.

2 changes: 1 addition & 1 deletion mq/plugins/large_strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class message(object):
def __init__(self):
self.registration = ['nubis_events_prod', 'githubeventsqs']
self.registration = ['githubeventsqs']
self.priority = 20
self.MAX_STRING_LENGTH = 3000

Expand Down

0 comments on commit bfea37d

Please sign in to comment.