title: Setting mirror maker 2 using kafka connect rest api put method not allowed
body: <p>I am trying to do the setup for mirror maker 2 using my current connect cluster.
  Based on this documentation it can be done via connect rest api.</p>
  
  <p><a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-382%3A+MirrorMaker+2.0#KIP-382:MirrorMaker2.0-RunningMirrorMakerinaConnectcluster" rel="nofollow noreferrer">https://cwiki.apache.org/confluence/display/KAFKA/KIP-382%3A+MirrorMaker+2.0#KIP-382:MirrorMaker2.0-RunningMirrorMakerinaConnectcluster</a></p>
  
  <p>I followed the sample sending this PUT request :</p>
  
  <p>PUT /connectors/us-west-source/config HTTP/1.1</p>
  
  <pre><code>{
      "name": "us-west-source",
      "connector.class": "org.apache.kafka.connect.mirror.MirrorSourceConnector",
      "source.cluster.alias": "us-west",
      "target.cluster.alias": "us-east",
      "source.cluster.bootstrap.servers": "us-west-host1:9091",
      "topics": ".*"
  }
  </code></pre>
  
  <p>but i am getting a method not allowed response error response.</p>
  
  <pre><code>{
    "error_code": 405,
    "message": "HTTP 405 Method Not Allowed"
  }
  </code></pre>
  
  <p>The api looks ok if I do a simple GET from the / , returning the version</p>
  
  <pre><code>{
    "version": "2.1.0-cp1",
    "commit": "bda8715f42a1a3db",
    "kafka_cluster_id": "VBo-j1OAQZSN8tO4lMJ0Gg"
  }
  </code></pre>