Aiven-Open / Aiven-Open/jdbc-connector-for-apache-kafka
Add generalized support for conditional updates
Abierto
- Lenguaje dominante
- Java
- Estrellas
- 113
- Forks
- 62
- Merge medio
- 4 h 12 min
- PR fusionados (30 d)
- 1
Descripción
https://github.com/Aiven-Open/jdbc-connector-for-apache-kafka/pull/375 adds support to update rows in a database only when a specific condition is met. This currently works for UPSERT and SQL Server dialect, but it could be supported for UPDATE and other dialects.
This feature is interesting and important -- a (strictly?) increasing field like a timestamp can be used to enforce idempotency where we can safely replay events and arrive at the same final state.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.