-
Notifications
You must be signed in to change notification settings - Fork 67
feat: Add PulsarTestConsumer #582
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
Conversation
8c03423
to
9c5596a
Compare
9c5596a
to
e8a21ba
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking great @jonas-grgt - thank you!
Some minor suggestions, questions, etc.. but other than that I think this one is getting close.
The main shift I had was that after digging in a bit, I think my initial idea of using Awaitility ended up being more trouble than its worth. Mostly because in order to support the "grab as many messages as you can in N time units" use case is super clunky to do. More details can be found in the review comments.
spring-pulsar-test/src/main/java/org/springframework/pulsar/test/support/Condition.java
Outdated
Show resolved
Hide resolved
spring-pulsar-test/src/main/java/org/springframework/pulsar/test/support/Condition.java
Outdated
Show resolved
Hide resolved
spring-pulsar-test/src/main/java/org/springframework/pulsar/test/support/Conditions.java
Outdated
Show resolved
Hide resolved
spring-pulsar-test/src/main/java/org/springframework/pulsar/test/support/Conditions.java
Outdated
Show resolved
Hide resolved
spring-pulsar-test/src/main/java/org/springframework/pulsar/test/support/ConditionsStep.java
Outdated
Show resolved
Hide resolved
...ng-pulsar-test/src/main/java/org/springframework/pulsar/test/support/PulsarTestConsumer.java
Outdated
Show resolved
Hide resolved
...ng-pulsar-test/src/main/java/org/springframework/pulsar/test/support/PulsarTestConsumer.java
Outdated
Show resolved
Hide resolved
...g-pulsar-test/src/main/java/org/springframework/pulsar/test/support/PulsarTestException.java
Show resolved
Hide resolved
...ulsar-test/src/main/java/org/springframework/pulsar/test/support/PulsarTimeOutException.java
Outdated
Show resolved
Hide resolved
spring-pulsar-test/src/main/java/org/springframework/pulsar/test/support/TopicStep.java
Outdated
Show resolved
Hide resolved
spring-pulsar-test/src/test/java/org/springframework/pulsar/test/support/ConditionTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates @jonas-grgt . Looks great. I think we are on the last round of updates - a few comments to address.
No description provided.