Skip to content
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

AWS2 ddb-streams integration tests failures #2860 #2951

Merged
merged 1 commit into from Jul 28, 2021

Conversation

JiriOndrusek
Copy link
Contributor

@JiriOndrusek JiriOndrusek commented Jul 27, 2021

fixes #2860

Problem was caused by the fact that on slower machines, route containing consumer is started, but consumer isn't receiving (not started). Then it could easily happen, that some events are ignored because of that.

I added a periodical check, that some random (init event) are received. These init events have to be created periodically to be sure that consumer is running in the moment of event's creation.

Copy link
Contributor

@aldettinger aldettinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Note that I was not able to replicate the issue locally, yet this potential fix makes sense IMHO 👍

@JiriOndrusek
Copy link
Contributor Author

@aldettinger Issue can not be replicated manually or at least I wasn't able to (without tweaking some component code). I was testing it on a machine provided by the reporter. The same behavior could reproduced with the use of Thread.sleep in the aws2-ddb consumer.

@JiriOndrusek
Copy link
Contributor Author

Build error doesn't seem to be related to the code change: Non-resolvable import POM: Could not find artifact org.apache.camel.quarkus:camel-quarkus-bom:pom:2.1.0-SNAPSHOT

@aldettinger
Copy link
Contributor

I agree, the build issue must be related to post release steps. So let's merge.

@aldettinger aldettinger merged commit 7624028 into apache:main Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AWS2 ddb-streams integration tests failures
3 participants