Skip to content

Commit

Permalink
docs: update events how to
Browse files Browse the repository at this point in the history
  • Loading branch information
navinkarkera committed Jul 24, 2023
1 parent 7abb70e commit d466aef
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/how-tos/adding-events-to-event-bus.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ In the producing/host application, include ``openedx_events`` in ``INSTALLED_APP
# .. setting_name: EVENT_BUS_PRODUCER_CONFIG
# .. setting_default: {}
# .. setting_description: Dictionary of event_types mapped to lists of dictionaries containing topic related configuration.
# Each topic configuration dictionary contains a flag called `enabled` denoting whether the event will be
# published to the topic, topic/stream name called `topic` where the event will be pushed to,
# `event_key_field` which is a period-delimited string path to event data field to use as event key.
# Each topic configuration dictionary contains
# * a topic/stream name called `topic` where the event will be pushed to.
# * a flag called `enabled` denoting whether the event will be published to the topic.
# * `event_key_field` which is a period-delimited string path to event data field to use as event key.
# Note: The topic names should not include environment prefix as it will be dynamically added based on
# EVENT_BUS_TOPIC_PREFIX setting.
EVENT_BUS_PRODUCER_CONFIG = {
Expand Down

0 comments on commit d466aef

Please sign in to comment.