-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing build #3
Comments
@cer I read messages and found that order service does not have eventuate.outbox.id property set. Fixed. Tested locally (just in case). Now I will create PR. |
PR: #4 |
How did it work locally for you? |
I am trying to understand |
So, it did not help. It worked for me locally because db schema is compatible between application id and db id versions. Cdc just checks the id header and case if it is missed it generates it depending on database generated id, otherwise just process the message (in case if service that sent message does not have eventuate outbox id specified). |
I am not sure what you are trying to say. Please explain more including why your environment's db schema is different than Github's? Also, is the different due to differing snapshots versions? incorrect local copies of libraries? Please pull the images to make sure your environment has the latest. Also, please analyze the results of the build:
|
it is not different. I just saying that if one service uses db id and other is not they can work together.
I will check
Will do |
tried to remove all docker images and gralde/maven local repositories. Tests pass. |
@cer I think this image is not up to date: eventuateexamples/eventuate-tram-examples-customers-and-orders-order-service Looks like It does not support db ids. I think it is published from master, not from development. |
Why 'think'? Please be specific:
The build should probably publish separately tagged images from master and development. But would this cause the tests to fail? And why do they pass locally for you? |
it is not a global answer, it just a clue :) . Image has no tags, so it's version is not clear. |
I checked messages carefully. There are only CustomerCreatedEvent and OrderCreatedEvent. I extended customer-service logging. But after extending customer logs tests become passing: https://github.com/dartartem/eventuate-tram-golang-examples-customers-and-orders/runs/2341692790 I have no idea what is happening. But if it repeats, we will have more logged info. |
See https://github.com/eventuate-examples/eventuate-tram-golang-examples-customers-and-orders/runs/2334547181?check_suite_focus=true
Only
io.eventuate.examples.tram.ordersandcustomers.customers.domain.events.CustomerCreatedEvent
is published - no events related to order creations.The text was updated successfully, but these errors were encountered: