System Engineer Email LeahRobertsolacecom Leah Robert Our Lives are Event Driven E A credit card is swiped E E E E Fraud Available Credit InStore Offers A flight is delayed ID: 808864
Download The PPT/PDF document "Be Event Driven. And Do It Successfully." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
Be Event Driven.
And Do It Successfully.
System EngineerEmail: Leah.Robert@solace.com
Leah Robert
Slide2Our Lives are
Event
Driven
E
Slide3A credit card is swiped…
E
E
E
E
Fraud?
Available Credit…
In-Store Offers?
Slide4A flight is delayed…
E
E
E
E
Rebook Missed Connections?
Notify Passengers…
Notify Partner Hotels?
Slide5A hotel keycard is used in an elevator…
E
E
E
E
Offer for the Bar?
Floor Correct…
Personalization?
Slide6A larger than normal check is deposited…
E
E
E
E
Increase Credit-Limit?
Update Balance…
Offer Low Loan Rate?
Slide7An event is…
a message sent by an app or device to signal the occurrence of an action
a change in state
Slide8Demo Goal
Romo the robot
Amazon
Rekognition
Web Applications
IoT Device
MQTT Protocol
AWS Cloud Native Application
HTTP Protocol (REST)
JavaScript On-Premise Applications
Solace Message Format (SMF) Protocol
Have Romo react to the emotion, as determined by Amazon
Rekognition
, in images captured by a Web Application
Slide9Application Connectivity Issues
Multiple environments,
Multiple protocols
Lack of Event Documentation
No way to track relationships
What Challenges do we Face?
Slide10How do we overcome these challenges and create an
Event Driven Architecture
?
Slide11Current Situation
On-premise (laptop)
MQTT
HTTP/REST
SMF
Multiple Environments
On-Premise
Public Cloud
IoT Device
Multiple Protocols
MQTT
HTTP
SMF
Slide12Use an
Event Mesh
On-premise (laptop)
MQTT
HTTP/REST
SMF
Multiple Environments
On-Premise
Public Cloud
IoT Device
Multiple Protocols
MQTT
HTTP
SMF
Event Mesh
Slide13Event Mesh
JMS
MQ
Event Broker
Event Broker
Event Broker
Event Broker
API Gateway
Public Clouds
PaaS
Slide14Event Mesh Configuration
On-premise
MQTT
HTTP/REST
SMF
Event Broker
Event Broker
Slide15How do we manage the Event Mesh?
Console
Slide16Wow.
T
his is a lot
to keep track of
…We need some way to document all these relationships
Full Architecture
IoT
Robot subscribes to commands in order to respond to emotion detected
Publish image data
Event Broker
Image capture and publish
Subscribe to image data
Subscribe to image data
Publish
emotion reaction c
ommands
On-premise
Event Broker
MQTT
REST
SMF
APIs/Protocols
Slide17We need to answer the …
WHERE
do you discover events/topics and the schema definition that defines the payload?
WHO
do you contact to learn more about events and their context/purpose?
WHAT
logical event address (topic) do you subscribe to in order to receive just the events you want to do something with?
WHY
does a given event exist, i.e. what is its context and purpose?
WHEN
will a given event be available or deprecated?
HOW
do developers/Architects define their event-driven application interfaces, How do they generate code?
Slide18API Management Platforms Solved This for REST!
18
© Solace
Proprietary & Confidential
Answers the Who, What, When, Where, Why and HowFor RESTful APIs… But what about Events?
API Portal
API Gateway
Documentation:
Discover
Registration:
Govern
Analysis:
Improve
Monetize
Community:
Collaborate
Internal, Partner & Third-Party
Architects and Developers
Slide19Lack of Event Documentation, meet the
Event Portal
19
© Solace
Proprietary & Confidential
Event Broker
Security
Persistence
Protocol Translation
1..Many Distribution
Event Source
Event Sinks
Event Portal
Documentation:
Discover
Registration:
Govern
Analysis:
Improve
Monetize
Community:
Collaborate
Internal, Partner & Third-Party
Architects and Developers
Runtime Event Mesh
Event Driven App
Design, Development
&
Management
Slide20Event Portal Elements
Event Portal Foundational ElementsApplication Domains: decomposes enterpriseSchema
: payload object definition. JSON, Avro, XML schemaEvent: topic address + metadata. References a payload schemaApplication: consumes and/or produces eventsTracking relationships between elements is key!
Event Portal
Application Domain
payload
schema
event
event
application
consumes
produces
payload
schema
Slide21Document and Configure
IoT
Robot subscribes to commands in order to respond to emotion detected
Publish image data
Event Broker
Image capture and publish
Subscribe to image data
Subscribe to image data
Publish
emotion reaction c
ommands
On-premise
Event Broker
MQTT
REST
SMF
APIs/Protocols
Slide22Add New Microservices
IoT
Robot subscribes to commands in order to respond to emotion detected
Publish image data
Event Broker
Image capture and publish
Subscribe to image data
Subscribe to image data
Publish
emotion reaction c
ommands
On-premise
Event Broker
MQTT
REST
SMF
APIs/Protocols
…
IoT
Publish movement commands
Slide23For the Developers
Export
AsyncAPI
Spec
Choose Event Broker to run against
Provides payload schema definitionsProvides connectivity to chosen Event Broker
Spring Cloud Stream GeneratorGenerates Maven projectOnly requires Business Logic
Slide24Application Connectivity Issues
Use an Event Mesh
Lack of Event Documentation
Use the Event Portal
How did we Overcome the Challenges?
Slide25That’s
Possible
System Engineer
Email: Leah.Robert@solace.com
Leah Robert
Come by our Boothon the Pacific LevelFloating BluetoothSpeaker Raffle