Skip to content

Commit

Permalink
refactor: event bus producer config as per new adr
Browse files Browse the repository at this point in the history
  • Loading branch information
navinkarkera committed Dec 8, 2023
1 parent af6304f commit 0cee3b3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,12 @@ settings: ``lms/envs/common.py``
SHOW_SKILL_VERIFICATION_PROBABILITY = 0.5
# Include the XBLOCK_SKILL_VERIFIED signal in `EVENT_BUS_PRODUCER_CONFIG` to push the event to event bus
# Note: Include `openedx_events` in `INSTALLED_APPS` setting in the host application
# See https://docs.openedx.org/projects/openedx-events/en/latest/decisions/0014-new-event-bus-producer-config.html
# for more information about EVENT_BUS_PRODUCER_CONFIG
EVENT_BUS_PRODUCER_CONFIG = {
'org.openedx.learning.xblock.skill.verified.v1': [
{'topic': 'learning-custom-xblock-skill-verfied', 'event_key_field': 'xblock_info.usage_key', 'enabled': True},
],
'org.openedx.learning.xblock.skill.verified.v1': {
'learning-xblock-skill-verfied': {'event_key_field': 'xblock_info.usage_key', 'enabled': True}
},
}
Developing
Expand Down

0 comments on commit 0cee3b3

Please sign in to comment.