Skip to content

Commit

Permalink
add dtmMsg.AddTopic
Browse files Browse the repository at this point in the history
  • Loading branch information
xiandong-italki committed Jun 23, 2023
1 parent 2e0dad9 commit 4b2e5fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion event_bus_dtm.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func (p *DtmEventProducer) Send(ctx context.Context, eventMessages ...DomainEven
fd := eventBody.ProtoReflect().Descriptor().Fields().ByName("abs")
fv := protoreflect.ValueOfMessage(abs.ProtoReflect())
eventBody.ProtoReflect().Set(fd, fv)
dtmMsg = dtmMsg.Add("localhost:8082/user_query.userQuery/insertUser", eventBody)
dtmMsg.AddTopic("create_user", eventBody)
}
dtmMsg.BranchHeaders = map[string]string{"test_header": "aaasdfa"}
dtmcli.SetBarrierTableName("myhubdb.barrier")
Expand Down

0 comments on commit 4b2e5fe

Please sign in to comment.