Upgrade to Pro — share decks privately, control downloads, hide ads and more …

[KieLive#35] Streaming decisions with DMN and K...

[KieLive#35] Streaming decisions with DMN and Kafka

[KieLive#35] Streaming decisions with DMN and Kafka
In this KIE Live you'll learn how to create event-driven decisions using DMN and Kafka. We'll stream decisions using the Developer Sandbox for Red Hat OpenShift and Red Hat OpenShift Streams for Apache Kafka in a hands-on session. You can replicate all the steps you'll see in this session without installing any software in your machine.

Link to the live streaming: http://red.ht/KieLive35

About the invited speaker:

Guilherme Caponetto has been working at Red hat since 2019 as a Software Engineer in the Business Automation Foundation team, where he's been contributing mostly for Business Central and Kogito Tooling development. Having been working for 10+ years with various software technologies, his interests lie in the development of high-quality intelligent software using design patterns, optimized code guided by unit tests, machine learning, and agile methodologies.

Go to bit.ly/caponetto to reach him out. ;)

KIE Community

June 08, 2021
Tweet

More Decks by KIE Community

Other Decks in Technology

Transcript

  1. Guilherme H. Caponetto Streaming decisions with DMN and Kafka Software

    Engineer Business Automation @ Red Hat bit.ly/caponetto
  2. Content Developer Sandbox for Red Hat OpenShift red.ht/dev-sandbox Red Hat

    OpenShift Streams for Apache Kafka red.ht/tryKafka 4
  3. Content Developer Sandbox for Red Hat OpenShift red.ht/dev-sandbox Red Hat

    OpenShift Streams for Apache Kafka red.ht/tryKafka How to connect them both with DMN 5 learn-dmn-in-15-minutes.com
  4. Content Developer Sandbox for Red Hat OpenShift red.ht/dev-sandbox Red Hat

    OpenShift Streams for Apache Kafka red.ht/tryKafka brief introduction How to connect them both with DMN 6 learn-dmn-in-15-minutes.com
  5. Content Developer Sandbox for Red Hat OpenShift red.ht/dev-sandbox Red Hat

    OpenShift Streams for Apache Kafka red.ht/tryKafka How to connect them both with DMN cool demo 7 brief introduction learn-dmn-in-15-minutes.com
  6. Developer Sandbox for Red Hat OpenShift “The sandbox provides you

    with a private OpenShift environment in a shared, multi-tenant OpenShift cluster that is pre-configured with a set of developer tools. You can easily create containers from your source code or Dockerfile, build new applications using the samples and stacks provided, add services such as databases from our templates catalog, deploy Helm charts, and much more.” red.ht/dev-sandbox during this presentation 10
  7. Red Hat OpenShift Streams for Apache Kafka red.ht/tryKafka during this

    presentation “As a fully-managed and hosted Kafka service, Red Hat OpenShift Streams for Apache Kafka enables developers to focus on building better applications more quickly, without having to worry about the underlying requirements of data collection and processing.” 14 “Based on the open source Apache Kafka project, Red Hat OpenShift Streams for Apache Kafka enables development teams to more easily incorporate streaming data into their applications.” (reference) development preview
  8. Goals 1. Show around the Sandbox and Kafka 2. Integrate

    them both with DMN 3. Do not require anything installed 16
  9. 1. Show around the Sandbox and Kafka 2. Integrate them

    both with DMN 3. Do not require anything installed Goals reason for you to try it out today! 17
  10. A summary of our demo Producer Consumer deploy Kafka Sandbox

    Producer Consumer 20 caponetto/streaming-dmn-kafka loosely-coupled services
  11. A summary of our demo Producer Consumer deploy events with

    decision inputs Kafka Sandbox Producer Consumer 21 caponetto/streaming-dmn-kafka loosely-coupled services
  12. A summary of our demo Producer Consumer deploy Kafka event

    stream Sandbox Producer Consumer 22 caponetto/streaming-dmn-kafka events with decision inputs loosely-coupled services
  13. A summary of our demo Producer Consumer deploy Kafka event

    stream decision evaluation Sandbox Producer Consumer 23 caponetto/streaming-dmn-kafka events with decision inputs loosely-coupled services
  14. A summary of our demo a closer look Let’s inspect

    our DMN 25 caponetto/streaming-dmn-kafka Traffic Violation.dmn
  15. A summary of our demo a closer look Producer Send

    cloud events every x seconds to a particular topic. The payload contains decision inputs. Some of the inputs are randomly generated. 1 … n 26
  16. A summary of our demo a closer look Producer Send

    cloud events every x seconds to a particular topic. The payload contains decision inputs. Some of the inputs are randomly generated. Payload example taken from this repository. 1 … n 27 Driver and Violation data
  17. A summary of our demo a closer look Consumer Receive

    cloud events from the subscribed topic. Include the Traffic Violation decision model. Using Kogito, evaluate the decision. 1 … n 28
  18. A summary of our demo a closer look Consumer Receive

    cloud events from the subscribed topic. Include the Traffic Violation decision model. Using Kogito, evaluate the decision. Payload example taken from this repository. 1 … n 29 Fine data and whether or not the driver should be suspended
  19. 30 BOOTSTRAP_SERVER CLIENT_ID CLIENT_SECRET OAUTH_TOKEN_ENDPOINT_URI TOPIC A summary of our

    demo a closer look environment variables needed to connect with our Kafka instance
  20. Additional references 33 • Event-driven decisions with Kogito • Introducing

    Red Hat OpenShift Streams for Apache Kafka • Sending and Receiving Cloud Events with Kafka • Learn Quarkus faster with quick starts in the Developer Sandbox for Red Hat OpenShift