Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-5446

Wrong parameters in the REST call mentioned in the example

    XMLWordPrintable

Details

    Description

      Instead of this text:

      $ curl -X POST -H "Content-Type: application/json" http://localhost:8083/connectors \
      --data '

      { "name": "sample", "connector.class": "com.couchbase.connect.kafka.CouchbaseSourceConnector", "tasks.max": 2, "connection.cluster_address": "localhost", "connection.bucket": "beer-sample", "topic.name": "streaming-topic-beer-sample" }

      '

      It should be THIS text:

      $ curl -X POST -H "Content-Type: application/json" http://localhost:8083/connectors \
      --data '{
      "name": "sample",
      "config":

      { "connector.class": "com.couchbase.connect.kafka.CouchbaseSourceConnector", "tasks.max": 2, "connection.cluster_address": "localhost", "connection.bucket": "beer-sample", "topic.name": "streaming-topic-beer-sample" }

      }'

      Reporter: Lior King
      E-mail: lior.king@couchbase.com

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jamiltz James Nocentini
            lior.king Lior King
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty