-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace openedx_event signal handlers with new producer config to push to event bus
- Loading branch information
1 parent
b94b0a8
commit b46d149
Showing
11 changed files
with
58 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -293,21 +293,10 @@ def should_show_debug_toolbar(request): # lint-amnesty, pylint: disable=missing | |
CREDENTIALS_PUBLIC_SERVICE_URL = 'http://localhost:18150' | ||
|
||
#################### Event bus backend ######################## | ||
# .. toggle_name: FEATURES['ENABLE_SEND_XBLOCK_EVENTS_OVER_BUS'] | ||
# .. toggle_implementation: DjangoSetting | ||
# .. toggle_default: False | ||
# .. toggle_description: Temporary configuration which enables sending xblock events over the event bus. | ||
# .. toggle_use_cases: open_edx | ||
# .. toggle_creation_date: 2023-02-21 | ||
# .. toggle_warning: For consistency in user experience, keep the value in sync with the setting of the same name | ||
# in the LMS and CMS. | ||
# .. toggle_tickets: 'https://github.com/openedx/edx-platform/pull/31813' | ||
FEATURES['ENABLE_SEND_XBLOCK_EVENTS_OVER_BUS'] = True | ||
EVENT_BUS_PRODUCER = 'edx_event_bus_redis.create_producer' | ||
EVENT_BUS_REDIS_CONNECTION_URL = 'redis://:[email protected]:6379/' | ||
EVENT_BUS_TOPIC_PREFIX = 'dev' | ||
EVENT_BUS_CONSUMER = 'edx_event_bus_redis.RedisEventConsumer' | ||
EVENT_BUS_XBLOCK_LIFECYCLE_TOPIC = 'course-authoring-xblock-lifecycle' | ||
|
||
################# New settings must go ABOVE this line ################# | ||
######################################################################## | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters