openmessaging / openmessaging-java

OpenMessaging Runtime Interface for Java
http://openmessaging.cloud/
Apache License 2.0
723 stars 220 forks source link

Pulsar and RocketMQ implementation on openmessaging api #13

Closed sijie closed 6 years ago

sijie commented 6 years ago

This is based on #12

sijie commented 6 years ago

@zhouxinyu @vongosling in this pull request, I attempt to demonstrate how pulsar and rocketmq can implement the openmessaging api. please take a look. Hope this will give you an idea on how client, client driver work for #12

vongosling commented 6 years ago

I have noticed we have 2 different API for openMessaging now. We could merge it based on our Initial proposal, https://github.com/openmessaging/openmessaging-java/tree/master/openmessaging-api-samples. Later, I will try to address the main thoughts about our design :-)

sijie commented 6 years ago

@vongosling as we discussed in last TSC meeting and all the conversations we had in the last few months, we agreed on producing a messaging api based on the agreement around "topic-subscription-consumer" messaging model. That api reflects the messaging model we agree on. Let's review the api I propose here and finalize it. The original api is based on a different messaging model which we didn't agree on. We can reuse some existing class in the new proposed api.

vongosling commented 6 years ago

close, we will discuss the new model in the next week.