debezium-examples icon indicating copy to clipboard operation
debezium-examples copied to clipboard

Update Examples for Debezium 2.3

Open Naros opened this issue 1 year ago • 2 comments

Naros avatar Aug 04 '23 21:08 Naros

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?

jpechane avatar Aug 08 '23 08:08 jpechane

I think it's partially doable:

  1. Maven could import or be based on some debezium-examples-parent pom.xml
  2. The docker compose files could use extends, but would require docker-compose v3
  3. 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.

Naros avatar Aug 14 '23 14:08 Naros