debezium-examples
debezium-examples copied to clipboard
Update Examples for Debezium 2.3
I wonder if we can come up with a solution to define the version in a single place. It will be probably quite hard for Dockerfiles (we might need to introduce a script that will do it) but java based examples might benefit from a common parent. WDYT?
I think it's partially doable:
- Maven could import or be based on some
debezium-examples-parent
pom.xml - The docker compose files could use
extends
, but would require docker-compose v3 - Docker files could potentially just point to
<image>:latest
tbh.
All that would then remain would be the README.md
and other files that directly reference the versions. Perhaps we might be able to get away with using latest
in these contexts too?
I'll look and see if we can do that here in this PR so we can avoid or minimize this effort moving forward.
That said, we do have some examples that need a complete overhaul. For example, some of them simply no longer run without some failure, such as those based on thortail (WildFly Swarm) from 5 years ago. I'd prefer to see whether those can be replaced with Quarkus.