This commit is contained in:
lxy
2020-08-22 11:52:21 +08:00
parent 17b28a9124
commit 23365ae237
3 changed files with 44 additions and 38 deletions

View File

@@ -33,10 +33,10 @@ public class AppTest {
try {
RedisProducer producer = Application.singleton(RedisProducer.class);
Event<Map> event = new Event<>();
Event event = new Event<>();
event.setTopic("c");
event.setKey("abx");
event.setValue(Map.of("A", "a"));
event.setValue(1f);
producer.send(event);