title: AWS MSK setting advertised listeners
body: <p>I am trying to set the advertised.listeners config of my MSK cluster. However, I am getting the following error back:</p>
  <blockquote>
  <p>requirement failed: inter.broker.listener.name must be a listener name defined in advertised.listeners</p>
  </blockquote>
  <p>I am not sure what this error means. I have tried searching for it but nothing comes up.
  I have all my VPC related config setup. I am able to read the topic names and other configuration from the cluster.</p>
  <p>I am using the Admin client of python's confluent_kafka module.</p>
  <p>Here is the code:</p>
  <pre><code>import confluent_kafka.admin
  from confluent_kafka.admin import AdminClient, ConfigResource
  
  a = AdminClient({'bootstrap.servers': '&lt;server&gt;:&lt;port&gt;'})
  print(a.list_topics(timeout=5).topics) # Confirm connection
  
  resources = list()
  resources.append(ConfigResource(restype='BROKER',name='&lt;broker_id', set_config={'advertised.listeners':'REPLICATION://&lt;server&gt;:&lt;port&gt;'}))
  returned_futures = a.alter_configs(resources)
  </code></pre>