0

Can someone please suggest me how can I create topics on AWS server? I knew that it will create topic automatically when I publish a message by giving the topic name but is there any way I can add all possible topics on server?

enter image description here

In the above image I am able to send message on a topic (test_topic) and it create that automatically on server. Is there any way I created all topics at one time on a server?

hardillb
  • 54,545
  • 11
  • 67
  • 105
Hassan Kashif
  • 435
  • 1
  • 7
  • 26
  • I'm confused, this has nothing to do with mosquitto at all and you've included a screen shot from HiveMQ – hardillb Mar 22 '17 at 13:08
  • In screenshot I just showed that test_topic is automatically created. I want to define my topics at one time on server – Hassan Kashif Mar 22 '17 at 13:15

1 Answers1

0

Topics are meaningless until a message is published to it.

There is nothing to create in advance, you can subscribe to any topic you want even if no messages have ever been published to.

Also ACLs to control access to topics do not depend on a topic "existing" before they are created.

hardillb
  • 54,545
  • 11
  • 67
  • 105