0
0
Microservicessystem_design~10 mins

Event types (domain, integration, notification) in Microservices - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to define a domain event type.

Microservices
event_type = "[1]"  # Represents an event within the same service boundary
Drag options to blanks, or click blank then click option'
Adomain
Bcommand
Cnotification
Dintegration
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing integration event which is for communication between services.
2fill in blank
medium

Complete the code to define an integration event type.

Microservices
event_type = "[1]"  # Used to communicate between different microservices
Drag options to blanks, or click blank then click option'
Aintegration
Bnotification
Cdomain
Dcommand
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing with notification events which are for user alerts.
3fill in blank
hard

Fix the error in the event type assignment for a notification event.

Microservices
event_type = "[1]"  # Event type used to inform users or systems about something
Drag options to blanks, or click blank then click option'
Aintegration
Bcommand
Cdomain
Dnotification
Attempts:
3 left
💡 Hint
Common Mistakes
Using domain or integration event types incorrectly here.
4fill in blank
hard

Fill both blanks to complete the event type descriptions.

Microservices
domain_event = "[1]"  # Event inside a service
integration_event = "[2]"  # Event between services
Drag options to blanks, or click blank then click option'
Adomain
Bnotification
Cintegration
Dcommand
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up domain and integration event types.
5fill in blank
hard

Fill all three blanks to complete the event type assignments.

Microservices
domain_event = "[1]"
integration_event = "[2]"
notification_event = "[3]"
Drag options to blanks, or click blank then click option'
Adomain
Bintegration
Cnotification
Dcommand
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping integration and notification event types.