The GitHub Actions job "Integration Tests for Kafka" on 
pekko-projection.git/r2dbc-mariadb-support has succeeded.
Run started by GitHub user ptrdom (triggered by ptrdom).

Head commit for run:
8207a7f450f6c0654da54722fe75e0ac900c29d4 / Domantas Petrauskas 
<[email protected]>
r2dbc: support MariaDB

Motivation:
apache/pekko-persistence-r2dbc#534 added the mariadb dialect to the
persistence plugin. R2DBC projections fail on it: the dialect has no
offset store, and MariaDB doesn't support the `AS excluded` row alias
that the MySQL offset store upserts with.

Modification:
Add MariaDBR2dbcOffsetStore, the MySQL offset store with VALUES(col)
upserts, and select it for the mariadb dialect. Instants need no
handling in the projection, as the connection factory of the plugin
converts them for the MariaDB driver. Build against the
pekko-persistence-r2dbc snapshot that includes
apache/pekko-persistence-r2dbc#534, add the MariaDB driver as a test
dependency, a MariaDB CI job and docs.

Result:
R2DBC projections can store offsets in MariaDB with the mariadb dialect.

Tests:
- MariaDBR2dbcOffsetStoreSpec on MariaDB 12.3.3 (America/New_York): 3 passed; 2 
of 3 fail with the MySQL upserts
- r2dbc-int-test/test with PostgreSQL and H2: 137 passed, 2 canceled (MariaDB 
only)
- r2dbc-int-test/test with MariaDB and MySQL: event sourced specs fail locally 
under load on Windows, also on MySQL and the H2 branch
- checkCodeStyle, mimaReportBinaryIssues, headerCheckAll, docs/paradox, Scala 
3.3.8 and 3.9.0 compile: pass

References:
Refs apache/pekko-persistence-r2dbc#534

Report URL: https://github.com/apache/pekko-projection/actions/runs/41193248617

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to