eventuate-tram-examples-customers-and-orders
eventuate-tram-examples-customers-and-orders copied to clipboard
An example of Choreography-based sagas in Spring Boot/JPA microservices
Bumps commons-io from 2.6 to 2.7. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands...
Build https://app.circleci.com/pipelines/github/eventuate-tram/eventuate-tram-examples-customers-and-orders/151/workflows/2a8c7505-7ed5-4108-a5e9-b1b7c845a629/jobs/651/steps failed Reason: build-and-test-snapshots.sh failed *Reason: Failed io.eventuate.examples.tram.ordersandcustomers.snapshottests.SnapshotTest testCustomers **Reason: I/O error on GET request for "http://localhost:8084/customers": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused)...
https://github.com/eventuate-tram/eventuate-tram-examples-customers-and-orders/blob/1fea6510d127e1ca53a5d792550e6be4788daabd/build.gradle#L23
see: https://app.circleci.com/pipelines/github/eventuate-tram/eventuate-tram-examples-customers-and-orders/147/workflows/1cbcbce6-1360-4b23-8e08-f071ee5fccbf/jobs/627 Problem: Eventuate cdc service caches primary keys: https://github.com/eventuate-foundation/eventuate-cdc/blob/0ada218b4228f03bf9d967968dc178e16010cce6/eventuate-local-java-cdc-connector-polling/src/main/java/io/eventuate/local/polling/PollingDao.java#L34 https://github.com/eventuate-foundation/eventuate-cdc/blob/0ada218b4228f03bf9d967968dc178e16010cce6/eventuate-local-java-cdc-connector-polling/src/main/java/io/eventuate/local/polling/PollingDao.java#L203-L219 After db id migration primary key column is changed. New message records after migration have empty old primary key....
See: https://app.circleci.com/pipelines/github/eventuate-tram/eventuate-tram-examples-customers-and-orders/140/workflows/814318e7-8113-4b07-9f4d-1aad7a436133/jobs/580 Error in logs: ``` org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [select top (?) * FROM eventuate.message WHERE published = 0 ORDER BY id ASC]; nested exception is com.microsoft.sqlserver.jdbc.SQLServerException: Invalid...
I am getting the following error when running: ./gradlew mysqlbinlogComposeBuild mysqlbinlogComposeUp > Task :mysqlbinlogComposeBuild Invalid interpolation format for "build" option in service "customerservice": "${EVENTUATE_JAVA_BASE_IMAGE_VERSION?}" How must EVENTUATE_JAVA_BASE_IMAGE_VERSION be set? Environment:...
https://github.com/eventuate-tram/eventuate-tram-examples-customers-and-orders/blob/72503b5961c891891fa4a0ab02c245faef76a984/deployment/terraform_azure/azure_sql.tf#L30 e.g. create a job that runs `mcr.microsoft.com/mssql-tools` and has it execute a script that downloads and executes the SQL scripts. Terraform executes the job: https://www.terraform.io/docs/providers/kubernetes/r/job.html
https://github.com/eventuate-tram/eventuate-tram-examples-customers-and-orders/blob/73ccd4ad8a205c71ad1cd33494c189d23dda7c54/docker-compose-mssql-polling.yml#L114 e.g. Doesn't the CDC have sensible defaults for polling? ``` SPRING_DATASOURCE_TEST_ON_BORROW: "true" SPRING_DATASOURCE_VALIDATION_QUERY: SELECT 1 EVENTUATELOCAL_KAFKA_BOOTSTRAP_SERVERS: kafka:29092 EVENTUATELOCAL_ZOOKEEPER_CONNECTION_STRING: zookeeper:2181 EVENTUATELOCAL_CDC_POLLING_INTERVAL_IN_MILLISECONDS: 500 EVENTUATELOCAL_CDC_MAX_EVENTS_PER_POLLING: 1000 EVENTUATELOCAL_CDC_MAX_ATTEMPTS_FOR_POLLING: 100 EVENTUATELOCAL_CDC_POLLING_RETRY_INTERVAL_IN_MILLISECONDS: 500 ```
* This problem first appeared when the CircleCI build was switched from Java 14 back to Java 8. * The containers always used Java 8 even when Maven was running...