aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_mq_topic_configure.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2025-01-20 22:19:27 -0800
committerGitHub <noreply@github.com>2025-01-20 22:19:27 -0800
commitcc05874d06489751bc3892a2a012dde3921e9909 (patch)
tree7b8cc708e57af49bda2856bdece8c30029cadb05 /weed/shell/command_mq_topic_configure.go
parentb2f56d9add07bdd66b5a24f0cc3c4467a9ddfc66 (diff)
downloadseaweedfs-cc05874d06489751bc3892a2a012dde3921e9909.tar.xz
seaweedfs-cc05874d06489751bc3892a2a012dde3921e9909.zip
Add message queue agent (#6463)
* scaffold message queue agent * adjust proto, add mq_agent * add agent client implementation * remove unused function * agent publish server implementation * adding agent
Diffstat (limited to 'weed/shell/command_mq_topic_configure.go')
-rw-r--r--weed/shell/command_mq_topic_configure.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/shell/command_mq_topic_configure.go b/weed/shell/command_mq_topic_configure.go
index 9342c8604..ab54ee554 100644
--- a/weed/shell/command_mq_topic_configure.go
+++ b/weed/shell/command_mq_topic_configure.go
@@ -7,6 +7,7 @@ import (
"fmt"
"github.com/seaweedfs/seaweedfs/weed/pb"
"github.com/seaweedfs/seaweedfs/weed/pb/mq_pb"
+ "github.com/seaweedfs/seaweedfs/weed/pb/schema_pb"
"io"
)
@@ -54,7 +55,7 @@ func (c *commandMqTopicConfigure) Do(args []string, commandEnv *CommandEnv, writ
// create topic
return pb.WithBrokerGrpcClient(false, brokerBalancer, commandEnv.option.GrpcDialOption, func(client mq_pb.SeaweedMessagingClient) error {
resp, err := client.ConfigureTopic(context.Background(), &mq_pb.ConfigureTopicRequest{
- Topic: &mq_pb.Topic{
+ Topic: &schema_pb.Topic{
Namespace: *namespace,
Name: *topicName,
},