Live session: Event-Driven & code generation with AsyncAPI and Solace 10/06/2020
Tags: watercooler, eventdriven, livecode, java
Published: 2020-06-05 18:49:41

---
title: Live session: Event-Driven & code generation with AsyncAPI and Solace 10/06/2020
published: true
description: Design to Code using Portal + AsyncAPI Code Generation
tags: watercooler, eventdriven, livecode, java
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/ts8eyq5311rz7890qt0e.png
---

# Two types of people

During The 2020 Quarantine, I had the opportunity to delve deep into my thoughts and come up with euphoric discoveries. One of the realization that I came to is that there are two types of people in this world:

1. Those who sit on the couch and watch Netflix all day
1. And those who read blog posts on dev.to and attend live coding sessions to learn new technologies and interact with other developers

![Couch Potato](https://media.giphy.com/media/JQtjrjz75ttYY/giphy.gif)

Since you're reading this now, then you are definitely the second type. So "what is it I will be learning from this live coding session", you may ask? Asynchronous development in an event-driven world! Developing your applications in an event-driven manner is one of the most efficient way to achieve real-time interactions with your data and build a microservices infrastructure. I talk more about this topic and event-driven architectures in [this blogpost](https://dev.to/solacedevs/how-i-built-an-event-driven-nodejs-app-on-realtime-covid-19-data-streams-3i98)

For those who are not aware of [AsyncAPI](https://www.asyncapi.com/), its the industry standard for defining asynchronous APIs to easily build and maintain event-driven architecture. So think Swagger and OpenAPI but for event-driven APIs instead of REST APIs.

# Taking Event-driven to a META level

Now imagine a world where you can blend event-driven development AND code generation:

![Imagine a world](https://media.giphy.com/media/3XR0chfiSTtAI/giphy.gif)

Say no more! AsyncAPI also created a generator open source tool that can be used to generate asynchronous event-driven applications based on a predefined AsyncAPI specification file as an input. You can check out [the list of official generator templates](https://github.com/asyncapi/generator#list-of-official-generator-templates) on the generator github repository. 

# What's the deal with the live coding session?

Glad you asked! An online session will be held on **June 10, 2020 at 10:00 ET** that covers design to code using [Solace PubSub+ Event Portals](https://solace.com/products/portal/) + AsyncAPI Code Generation. I will be the host interviewing [Marc DiPasquale](https://twitter.com/Mrc0113) from Solace and [Fran Méndez](https://twitter.com/fmvilas), the founder of AsyncAPI, while we get into an interactive live coding session where we’ll check out the design to code experience. We will also be building an event-driven microservice using Spring Cloud Stream and answer any questions you have.

# How can I join

[YouTube](https://youtu.be/oQbZf9DTnKc)
[Twitch](twitch.tv/solacedevs)
[Solace Community](https://solace.community/)

```java
String youtubeLink = "https://youtu.be/oQbZf9DTnKc"
String twitchLink = "twitch.tv/solacedevs" 

System.out.println("Youtube Link: " + youtubeLink + "\nTwitch Link: " + twitchLink);

```

So come take part in this interactive session and chat with us on the live stream, I'll give you a shout out if you ask a question 😎

And to end on a good note, I’d like to leave you with one of my favorite gifs
![Hacker nerd programming](https://media.giphy.com/media/llKJGxQ1ESmac/giphy.gif)

*Disclaimer: I am a Developer Advocate at Solace @SolaceDevs*