This commit is contained in:
2025-07-23 18:41:30 +08:00
parent a9add11578
commit 390c5ecff5
12 changed files with 57 additions and 3 deletions

View File

@@ -57,6 +57,7 @@ func WithPublishTTRPCOpts(opts ...ttrpc.ClientOpts) PublisherOpts {
// NewPublisher creates a new remote events publisher
func NewPublisher(address string, opts ...PublisherOpts) (*RemoteEventsPublisher, error) {
log.L.Infof("mzq-test, publisher.go NewPublisher, address: %v\n", address)
client, err := ttrpcutil.NewClient(address)
if err != nil {
return nil, err