title: Publish to different pubsub topic in Google cloud via mosquitto broker?
body: <p>I have a pubsub topic name </p>
  
  <pre><code>projects/project_name/topics/Sandbox_PubSub
  </code></pre>
  
  <p>and I also have a subscription on that topic.
  and then I have a cloud function name <code>Sandbox_function</code> which triggers with a <code>publish</code> on that topic.</p>
  
  <p>I have a python code where I am publishing the data to this topic via a mosquitto broker</p>
  
  <pre><code>'/devices/device_id/events/Sandbox_PubSub'
  </code></pre>
  
  <p>Its working perfectly fine and I am receiving data in the cloud function as well as in the subscription.</p>
  
  <p>Now I created another topic name</p>
  
  <pre><code>projects/project_name/topics/Pairing
  </code></pre>
  
  <p>and then subscription and another cloud function called <code>Pairing_Function</code> 
  Now when I <code>publish</code> my data on </p>
  
  <pre><code>'/devices/device_id/events/Pairing'
  </code></pre>
  
  <p>Instead of getting that data in <code>Pairing_Function</code> I am getting the data in <code>Sandbox_Function</code> as a subFolder <code>Pairing</code> and also in <code>Sandbox_Subscription</code> instead of <code>Pairing</code> subscription.</p>
  
  <p>What i am doing wrong here? and how can i get data into different topics?
  thanks a lot! </p>