You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by mi...@apache.org on 2022/12/01 11:11:43 UTC
[incubator-eventmesh] branch master updated: fix issue 2341
This is an automated email from the ASF dual-hosted git repository.
mikexue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh.git
The following commit(s) were added to refs/heads/master by this push:
new eff1ea751 fix issue 2341
new 4272157a8 Merge pull request #2352 from jonyangx/issue2341
eff1ea751 is described below
commit eff1ea7517c359606d1e3f6a25b5e0003cce5a5f
Author: jonyangx <jo...@gmail.com>
AuthorDate: Thu Dec 1 17:55:27 2022 +0800
fix issue 2341
---
.../java/org/apache/eventmesh/connector/redis/connector/UnitTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/eventmesh-connector-plugin/eventmesh-connector-redis/src/test/java/org/apache/eventmesh/connector/redis/connector/UnitTest.java b/eventmesh-connector-plugin/eventmesh-connector-redis/src/test/java/org/apache/eventmesh/connector/redis/connector/UnitTest.java
index c50f74747..1b9072914 100644
--- a/eventmesh-connector-plugin/eventmesh-connector-redis/src/test/java/org/apache/eventmesh/connector/redis/connector/UnitTest.java
+++ b/eventmesh-connector-plugin/eventmesh-connector-redis/src/test/java/org/apache/eventmesh/connector/redis/connector/UnitTest.java
@@ -27,6 +27,7 @@ import org.apache.eventmesh.connector.redis.consumer.RedisConsumerTest;
import org.apache.eventmesh.connector.redis.producer.RedisProducer;
import java.net.URI;
+import java.nio.charset.StandardCharsets;
import java.time.OffsetDateTime;
import java.util.Properties;
import java.util.concurrent.CountDownLatch;
@@ -87,7 +88,7 @@ public class UnitTest extends AbstractRedisServer {
.withSubject(topic)
.withType(String.class.getCanonicalName())
.withDataContentType("text/plain")
- .withData("data".getBytes())
+ .withData("data".getBytes(StandardCharsets.UTF_8))
.build();
redisProducer.publish(cloudEvent, new SendCallback() {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org