0

I am looking for an open source osgi tool for database Change Capture on Apache Karaf. I was looking and I have found Debezium but it's not osgi ready any other suggestions ?

elpazio
  • 697
  • 2
  • 9
  • 25
  • I don't have an answer for you, but perhaps you'd be interested in helping out with OSGi-fying Debezium? – Gunnar Apr 28 '17 at 13:20

1 Answers1

2

Liquibase works well in recent versions. I just did a tutorial to show how to use it in OSGi.

Balázs Zsoldos helped me with it. He also has some more advanced tooling for it that allows to modularize your db schema see everit cookbook Chapter persistence.

Christian Schneider
  • 19,420
  • 2
  • 39
  • 64
  • I am usinig Liquibase already with OSGI and it works fine but only to update database schema from my model classes. but does it help with change data capture ? I need something to watch databse events and inform in rela time an other bundle that there is something changed in the database since that bundle does not have a scope on the database. I don't think that Liquibase is made for that. – elpazio Apr 19 '17 at 08:17
  • 1
    Ah .. I misunderstood. I thought you are talking about schema changes. For data changes you could take a look into camel sql and camel jpa. Though these are optimized for special transfer tables not for complex interrelated tables. – Christian Schneider Apr 19 '17 at 08:26