strimzi / strimzi-lab

A lab focused on deploying streaming applications on top of Strimzi
Apache License 2.0
23 stars 78 forks source link

#3 Adding CRUD app demo #4

Closed gunnarmorling closed 6 years ago

gunnarmorling commented 6 years ago

Hey @mbogoevici and @ppatierno, this adds the CRUD demo we've been talking about. It is still bound to the "hiking" domain, but as said I think we can change this into something related to "devices" or similar quite easily, which matches better with the "IoT" theme.

The example is based on two Docker images: one for MySQL and another one for the application, deployed on WildFly. See the README.md for instructions on starting them.

With the app running, the flow can continue with the steps of my usual Debezium demo, at the Register Source Connector (Avro) step. In the steps of my demo I'm using Docker Compose, obviously we wanted to change that into oc instructions.

Btw. I'm not so concerned about the fact that it a separate app, as it actually nicely stresses an advantage of CDC and Debezium: you can set up change data streams to existing applications without touching their actual code.

Any thoughts?

gunnarmorling commented 6 years ago

Yes, I think that'd make sense.