Browse Source

rename

mq-subscribe
chrislu 8 months ago
parent
commit
928a4e8dff
  1. 2
      .gitignore
  2. 1
      weed/mq/client/cmd/weed_pub_kv/publisher_kv.go

2
.gitignore

@ -87,7 +87,7 @@ other/java/hdfs/dependency-reduced-pom.xml
# binary file # binary file
weed/weed weed/weed
weed/mq/client/cmd/weed_pub/weed_pub
weed/mq/client/cmd/weed_pub_kv/weed_pub
docker/weed docker/weed
# test generated files # test generated files

1
weed/mq/client/cmd/weed_pub/publisher.go → weed/mq/client/cmd/weed_pub_kv/publisher_kv.go

@ -45,6 +45,7 @@ func doPublish(publisher *pub_client.TopicPublisher, id int) {
func main() { func main() {
flag.Parse() flag.Parse()
config := &pub_client.PublisherConfiguration{ config := &pub_client.PublisherConfiguration{
Topic: topic.NewTopic(*namespace, *t), Topic: topic.NewTopic(*namespace, *t),
PartitionCount: int32(*partitionCount), PartitionCount: int32(*partitionCount),
Loading…
Cancel
Save