/
Be Event Driven. And Do It Successfully. Be Event Driven. And Do It Successfully.

Be Event Driven. And Do It Successfully. - PowerPoint Presentation

leventiser
leventiser . @leventiser
Follow
343 views
Uploaded On 2020-08-28

Be Event Driven. And Do It Successfully. - PPT Presentation

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

broker event publish image event broker image publish mqtt premise smf data rest mesh portal application iot emotion subscribe

Share:

Link:

Embed:

Download Presentation from below link

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.


Presentation Transcript

Slide1

Be Event Driven.

And Do It Successfully.

System EngineerEmail: Leah.Robert@solace.com

Leah Robert

Slide2

Our Lives are

Event

Driven

E

Slide3

A credit card is swiped…

E

E

E

E

Fraud?

Available Credit…

In-Store Offers?

Slide4

A flight is delayed…

E

E

E

E

Rebook Missed Connections?

Notify Passengers…

Notify Partner Hotels?

Slide5

A hotel keycard is used in an elevator…

E

E

E

E

Offer for the Bar?

Floor Correct…

Personalization?

Slide6

A larger than normal check is deposited…

E

E

E

E

Increase Credit-Limit?

Update Balance…

Offer Low Loan Rate?

Slide7

An event is…

a message sent by an app or device to signal the occurrence of an action

a change in state

Slide8

Demo 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

Slide9

Application Connectivity Issues

Multiple environments,

Multiple protocols

Lack of Event Documentation

No way to track relationships

What Challenges do we Face?

Slide10

How do we overcome these challenges and create an

Event Driven Architecture

?

Slide11

Current Situation

On-premise (laptop)

MQTT

HTTP/REST

SMF

Multiple Environments

On-Premise

Public Cloud

IoT Device

Multiple Protocols

MQTT

HTTP

SMF

Slide12

Use 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

Slide13

Event Mesh

JMS

MQ

Event Broker

Event Broker

Event Broker

Event Broker

API Gateway

Public Clouds

PaaS

Slide14

Event Mesh Configuration

On-premise

MQTT

HTTP/REST

SMF

Event Broker

Event Broker

Slide15

How do we manage the Event Mesh?

Console

Slide16

Wow.

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

Slide17

We 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?

Slide18

API 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

Slide19

Lack 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

Slide20

Event 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

Slide21

Document 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

Slide22

Add 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

Slide23

For 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

Slide24

Application Connectivity Issues

Use an Event Mesh

Lack of Event Documentation

Use the Event Portal

How did we Overcome the Challenges?

Slide25

That’s

Possible

System Engineer

Email: Leah.Robert@solace.com

Leah Robert

Come by our Boothon the Pacific LevelFloating BluetoothSpeaker Raffle