cpp impl use dlopen, and java impl use Class.forName for load MessagingAccessPoint lib, go can use plugin to load lib, but it is not common in go community, So I recommend use golang's sql impl style
@llvim For rocketmq/kafka/pulsar MessagingAccessPoint impl, We can put it into other projects for implementation. Currently, this project only focuses on interface.
relate https://github.com/openmessaging/openmessaging-go/issues/1
MessagingAccessPoint: "dynamic" vs "static"
cpp impl use
dlopen
, and java impl useClass.forName
for loadMessagingAccessPoint lib
, go can use plugin to load lib, but it is not common in go community, So I recommend use golang's sql impl stylepackage management
return err instead of
throws
do not panic, return err
OMSResponseStatus code generator
for now, hard code this part
TODO
rocketmq MessagingAccessPoint implkafka MessagingAccessPoint implpulsar MessagingAccessPoint impl