-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add zip-split-rabbit-binder
sample
#108
Conversation
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.
Nice sample @artembilan! I ❤️ how little code it took to get the pipeline put together. Nice work.
I have added some comments/suggestions PTAL.
.../zip-split-rabbit-binder/src/test/java/com/example/ZipSplitRabbitBinderApplicationTests.java
Outdated
Show resolved
Hide resolved
.../zip-split-rabbit-binder/src/test/java/com/example/ZipSplitRabbitBinderApplicationTests.java
Outdated
Show resolved
Hide resolved
.../zip-split-rabbit-binder/src/test/java/com/example/ZipSplitRabbitBinderApplicationTests.java
Outdated
Show resolved
Hide resolved
.../zip-split-rabbit-binder/src/test/java/com/example/ZipSplitRabbitBinderApplicationTests.java
Outdated
Show resolved
Hide resolved
.../zip-split-rabbit-binder/src/test/java/com/example/ZipSplitRabbitBinderApplicationTests.java
Show resolved
Hide resolved
* Fix typos and language in README * Fix new line in the end of `application.yml` * Move `@Bean` for `RabbitMQContainer` as a regular `static` property on the class with a `@Container` * Use `@Testcontainers(disabledWithoutDocker = true)` * Move `@RabbitListener` method directly to test class * In the end we don't need extra `@TestConfiguration` class at all
Thanks, @onobc , for review!
Well, that took me a couple days to figure out all the moving parts from Spring Cloud Function and Spring Cloud Stream how to make it working together. |
You are more than welcome @artembilan
This is exactly why it is a perfect candidate for a sample. I too would have struggled how to do this. I was amazed how little actual code it did take once you figured out all the moving pieces. If we could make it easier for users to figure out that would be amazing. |
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.
Looks great @artembilan
Had discussion with Oleg: it cannot be easier, since function is one-to-one, therefore it is really expected that |
@corneil , @sobychacko , are you going to look into this? What is the policy then? Should I merge myself? Thanks |
I would say 1 review is fine and go ahead and merge it. |
More info in: https://stackoverflow.com/questions/79250487/is-there-any-way-to-build-an-sftpsupplier-splitter-batch-producer-with-spring