Skip to content

v5.0.0

Compare
Choose a tag to compare
@Z1kkurat Z1kkurat released this 08 Oct 16:48
· 4 commits to master since this release
b5dafad

Breaking changes

  • dropped APIs marked for deprecation earlier:
    • com.evolutiongaming.kafka.flow.cassandra. CassandraHealthCheckOf. Instead, use com.evolution.kafka.flow.cassandra.CassandraHealthCheckOf
    • com.evolutiongaming.kafka.flow.cassandra. CassandraModule. Instead, use com.evolution.kafka.flow.cassandra.CassandraModule
    • factory methods in com.evolutiongaming.kafka.flow.cassandra.CassandraPersistence that used classes from kafka-journal as parameters: withSchemaF, withSchema and truncate. Use alternatives with the same name taking scassandra.CassandraSession as parameter
    • factory methods in com.evolutiongaming.kafka.flow.journal.CassandraJournals that used classes from kafka-journal as parameters: withSchema and truncate. Use alternatives with the same name taking scassandra.CassandraSession as parameter
    • factory method com.evolutiongaming.kafka.flow.journal.JournalSchema#apply that used classes from kafka-journal as parameters. Use the alternative method JournalSchema#of taking scassandra.CassandraSession as parameter
    • factory methods in com.evolutiongaming.kafka.flow.key.CassandraKeys that used classes from kafka-journal as parameters: two class constructors, withSchema, truncate. Use other primary constructors and method alternatives with the same name taking scassandra classes as parameters
    • factory method com.evolutiongaming.kafka.flow.key.KeySchema#apply that used classes from kafka-journal as parameters. Use the alternative method KeySchema#of taking scassandra.CassandraSession as parameter
    • dropped com.evolutiongaming.kafka.flow.migration helper object that facilitated conversion from kafka-journal FromBytes/ToBytes to skafka FromBytes/ToBytes. Instead, it's advised to implement skafka instances directly without conversions
    • factory methods in com.evolutiongaming.kafka.flow.snapshot.CassandraSnapshots that used classes from kafka-journal as parameters: a class constructor, withSchema, truncate. Use the other primary constructor and method alternatives with the same name taking scassandra classes as parameters
    • com.evolutiongaming.kafka.flow.kafkapersistence#caching taking an instance of ProducerOf. Instead, pass a single instance of Producer explicitly to avoid creating a new producer for each partition
    • com.evolutiongaming.kafka.flow.kafkapersistence.KafkaPersistenceModuleOf#caching taking an instance of ProducerOf. Instead, pass a single instance of Producer explicitly to avoid creating a new producer for each partition

Updated major dependencies:

  • skafka: 16.0.3 -> 17.1.2
  • kafka-journal: 3.4.1 -> 4.0.2

What's Changed

  • Bump skafka and kafka-journal libs, drop deprecates by @Phill101 in #639

Full Changelog: v4.6.0...v5.0.0