Skip to content

Commit

Permalink
fixup!: example row
Browse files Browse the repository at this point in the history
  • Loading branch information
Rebecca Graber committed Aug 11, 2023
1 parent 038936f commit 5725314
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions edx_arch_experiments/scripts/republish_failed_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
long as it has 'initial_topic', 'event_type', 'event_data_as_json', 'event_key_field', and 'event_metadata_as_json'
columns.
Example row:
initial_topic,event_type,event_data_as_json,event_key_field,event_metadata_as_json
test-topic,org.openedx.test.event,{"test_data": {"course_key": "ABCx"}},test_data.course_key,
{"event_type": "org.openedx.test.event","id": "12345", "minorversion": 0, "source": "openedx/cms/web",
"sourcehost": "ip-10-3-16-4", "time"": ""2023-08-10T17:55:22.088808+00:00", ""sourcelib"": [8, 5, 0]}
This is created as a script instead of a management command because it's meant to be used as a one-off and not to
require pip installing this package into anything else to run. However, since edx-event-bus-kafka does expect certain
settings, the script must be run in an environment with DJANGO_SETTINGS_MODULE.
Expand Down

0 comments on commit 5725314

Please sign in to comment.