publisher send schema

This commit is contained in:
chrislu
2024-04-12 23:36:15 -07:00
parent 8415476c2d
commit 68ade92d4f
3 changed files with 15 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ import (
"github.com/seaweedfs/seaweedfs/weed/mq/pub_balancer"
"github.com/seaweedfs/seaweedfs/weed/mq/topic"
"github.com/seaweedfs/seaweedfs/weed/pb/mq_pb"
"github.com/seaweedfs/seaweedfs/weed/pb/schema_pb"
"github.com/seaweedfs/seaweedfs/weed/util/buffered_queue"
"google.golang.org/grpc"
"google.golang.org/grpc/credentials/insecure"
@@ -17,6 +18,7 @@ type PublisherConfiguration struct {
PartitionCount int32
Brokers []string
PublisherName string // for debugging
RecordType *schema_pb.RecordType
}
type PublishClient struct {