Skip to content

Commit

Permalink
Merge 910c022 into 2734d51
Browse files Browse the repository at this point in the history
  • Loading branch information
jonyangx authored Dec 1, 2022
2 parents 2734d51 + 910c022 commit 6da43b6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import org.apache.eventmesh.connector.pravega.config.PravegaConnectorConfig;

import java.net.URI;
import java.nio.charset.StandardCharsets;
import java.util.function.Consumer;

import org.junit.Before;
Expand Down Expand Up @@ -160,7 +161,7 @@ private CloudEvent createCloudEvent() {
.withType("http_request")
.withDataContentType("application/json")
.withSubject("TEST-TOPIC-HTTP-ASYNC")
.withData(data.getBytes())
.withData(data.getBytes(StandardCharsets.UTF_8))
.withExtension("reqeventmesh2mqtimestamp", "1659342713460")
.withExtension("ip", "127.0.0.1:51226")
.withExtension("idc", "idc")
Expand Down

0 comments on commit 6da43b6

Please sign in to comment.