-
Notifications
You must be signed in to change notification settings - Fork 166
[#30] Implement AMQP 1.0 transport binding #270
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
slinkydeveloper
left a comment
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 PR looks reaaaally nice and I'm super excited about it, thanks for your contribution!!!
I left a bunch of questions and style comments. Sorry in advance for the comments related to my poor knowledge of amqp 😄
amqp/src/main/java/io/cloudevents/amqp/AmqpBinaryMessageReader.java
Outdated
Show resolved
Hide resolved
amqp/src/main/java/io/cloudevents/amqp/AmqpBinaryMessageReader.java
Outdated
Show resolved
Hide resolved
amqp/src/main/java/io/cloudevents/amqp/AmqpBinaryMessageWriter.java
Outdated
Show resolved
Hide resolved
amqp/src/main/java/io/cloudevents/amqp/AmqpBinaryMessageWriter.java
Outdated
Show resolved
Hide resolved
|
REally nice work! Glad to see this coming! |
|
i updated the PR to incorporate the comments. i also renamed the class names to include |
slinkydeveloper
left a comment
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.
Small nits and we can merge
amqp/src/main/java/io/cloudevents/amqp/ProtonBasedAmqpMessageFactory.java
Outdated
Show resolved
Hide resolved
amqp/src/test/java/io/cloudevents/amqp/ProtonBasedAmqpMessageWriterTest.java
Show resolved
Hide resolved
Signed-off-by: Alfusainey Jallow <alf.jallow@gmail.com>
Now the classes include proton in their names Signed-off-by: Alfusainey Jallow <alf.jallow@gmail.com>
Signed-off-by: Alfusainey Jallow <alf.jallow@gmail.com>
|
@slinkydeveloper unfortunately, i have to add |
|
@Alfusainey I'm looking now at the errors and it seems they're related to this pr, let me show you |
amqp/src/main/java/io/cloudevents/amqp/impl/ProtonAmqpBinaryMessageReader.java
Outdated
Show resolved
Hide resolved
amqp/src/main/java/io/cloudevents/amqp/impl/ProtonAmqpBinaryMessageReader.java
Outdated
Show resolved
Hide resolved
amqp/src/main/java/io/cloudevents/amqp/ProtonAmqpMessageFactory.java
Outdated
Show resolved
Hide resolved
@slinkydeveloper the build is actually failing to generate javadoc for the cloudevents-api module. here is a summary: any idea what am doing wrong? |
amqp/src/test/java/io/cloudevents/amqp/ProtonAmqpMessageWriterTest.java
Outdated
Show resolved
Hide resolved
|
i needed to modify the maven-javadoc-plugin configuration for the build to work for me (https://stackoverflow.com/a/61884267/8462878). i will not commit this change though :-) |
Signed-off-by: Alfusainey Jallow <alf.jallow@gmail.com>
So on your machine javadoc tool fails for warnings? Interesting... Anyway, we plan to fix javadoc properly soon #264 so hopefully this will be fixed asap. |
|
@Alfusainey thanks again for this contribution 🚀 |
you're welcome, and thanks a lot for taking the time to review it! I will be hanging around this project from now on 😄 |
|
Oh yeah, feel free to check out the other good first issues https://github.com/cloudevents/sdk-java/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22 and also join the cncf slack if you want to https://cloud-native.slack.com/archives/CCXF3CBL1 |
An initial patch implementing the AMQP 1.0 protocol binding for cloud events. This patch implements the
MessageReaderandMessageWriterinterfaces to support the reading and writing of cloud events to and from an AMQP representation@slinkydeveloper I did a demo integration test using a vertx-proton client and server to send and receive cloud event messages. once this is merged, i will provide a sample README
Signed-off-by: Alfusainey Jallow alf.jallow@gmail.com