This commit is contained in:
chrislu 2024-05-02 08:35:06 -07:00
parent 5bc1b70a4c
commit 928a4e8dff
2 changed files with 2 additions and 1 deletions

2
.gitignore vendored
View File

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

View File

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