Skip to content
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

cloudevents/eventmesh message protocol pub/sub for sdk in rocketmq-connector #629

Merged
merged 26 commits into from
Dec 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
fee81c0
update java sdk
xwm1992 Nov 23, 2021
267d35b
Merge branch 'cloudevents' of https://github.com/apache/incubator-eve…
xwm1992 Nov 24, 2021
add1d1c
fix compile error
xwm1992 Nov 24, 2021
8c098e6
fix sdk error
xwm1992 Nov 24, 2021
b7d34b8
Merge branch 'cloudevents' of https://github.com/apache/incubator-eve…
xwm1992 Nov 25, 2021
9f6e155
1.remove the openmessage from connector-api
xwm1992 Nov 25, 2021
a27ad7e
1.fix the standalone connector
xwm1992 Nov 26, 2021
8503fd2
Merge branch 'cloudevents' of https://github.com/apache/incubator-eve…
xwm1992 Nov 26, 2021
34bc449
Merge branch 'cloudevents' of https://github.com/apache/incubator-eve…
xwm1992 Nov 29, 2021
76ae04f
1.fix the standalone connector
xwm1992 Nov 29, 2021
e8d8e4a
1.fix eventmeshmessage protocol adaptor for http with standalone conn…
xwm1992 Nov 30, 2021
e3fbfff
Merge branch 'cloudevents' of https://github.com/apache/incubator-eve…
xwm1992 Nov 30, 2021
be60a68
Merge branch 'cloudevents' of https://github.com/apache/incubator-eve…
xwm1992 Nov 30, 2021
0c40584
1.cloudevents protocol tcp pub/sub for sdk
xwm1992 Nov 30, 2021
ccaf841
Merge branch 'cloudevents' of https://github.com/apache/incubator-eve…
xwm1992 Dec 1, 2021
8068fc0
1.cloudevents protocol tcp pub/sub for sdk
xwm1992 Dec 1, 2021
d593d10
1.cloudevents protocol tcp pub/sub for sdk
xwm1992 Dec 2, 2021
1d3f752
Merge branch 'cloudevents' of https://github.com/apache/incubator-eve…
xwm1992 Dec 2, 2021
462881b
1.cloudevents protocol http pub/sub for sdk
xwm1992 Dec 2, 2021
613d31f
Merge branch 'cloudevents' of https://github.com/apache/incubator-eve…
xwm1992 Dec 2, 2021
f45f89a
fix cloudevents protocol pub/sub for http sdk
xwm1992 Dec 3, 2021
0a61fbd
Merge branch 'cloudevents' of https://github.com/apache/incubator-eve…
xwm1992 Dec 3, 2021
7de5b51
fix cloudevents/eventmesh message protocol pub/sub for sdk in rocketm…
xwm1992 Dec 6, 2021
0b95762
Merge branch 'cloudevents' of https://github.com/apache/incubator-eve…
xwm1992 Dec 6, 2021
d1fb9be
Merge branch 'cloudevents' of https://github.com/apache/incubator-eve…
xwm1992 Dec 6, 2021
ad71318
fix cloudevents/eventmesh message protocol pub/sub for sdk in rocketm…
xwm1992 Dec 7, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ public static MessageReader createReader(final Map<String, String> props,
throws CloudEventRWException {

return MessageUtils.parseStructuredOrBinaryMessage(
() -> props.get(RocketMQHeaders.CONTENT_TYPE),
format -> new GenericStructuredMessageReader(format, body),
() -> null,
format -> null,
() -> props.get(RocketMQHeaders.SPEC_VERSION),
sv -> new RocketMQBinaryMessageReader(sv, props, body)
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ public static void main(String[] args) throws Exception {
.idc("idc")
.ip(IPUtils.getLocalAddress())
.sys("1234")
.pid(String.valueOf(ThreadUtils.getPID())).build();
.pid(String.valueOf(ThreadUtils.getPID()))
.userName("eventmesh")
.password("pass")
.build();

try (EventMeshHttpProducer eventMeshHttpProducer = new EventMeshHttpProducer(eventMeshClientConfig)) {
for (int i = 0; i < messageSize; i++) {
Expand Down