title: Set a Pub Sub topic in Micronaut as per environment
body: <p>I am following this <a href="https://micronaut-projects.github.io/micronaut-gcp/latest/guide/#producer" rel="nofollow noreferrer">guide</a> to initialise a GCP Pub/Sub publisher.</p>
  <p>The coding syntax is as follows:</p>
  <pre><code>@PubSubClient
  public interface PubSubService {
  
      @Topic(&quot;topic-a&quot;)
      void send(final A a);
  
      @Topic(&quot;topic-b&quot;)
      void send(final B b);
  
  }
  </code></pre>
  <p>I want to set this topic value based on the environment, as I will have a different topic for QA/DEV (say <code>topic-a-qa</code> and <code>topic-b-qa</code>).
  Is there any way for me to set this String value in the <code>@Topic</code> annotation via or based on environment properties?</p>
  <p>I do not have an option of have a different Project under the GCP account, also creating a different class for QA overriding this one is not so graceful when maintaining environments.</p>